diff options
author | David Barksdale <amatus@amat.us> | 2017-03-22 22:17:05 -0500 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2017-03-22 22:19:13 -0500 |
commit | 78ecfccd774a77ae3d7a51e3f5c7c7c86cf7985b (patch) | |
tree | 1dc23a2f6d78c8026e69181ac90055929d79bba8 /src/fs/gnunet-service-fs_put.c | |
parent | aa98f144e6db0da5a0a4cad83fe64a80bbab6692 (diff) | |
download | gnunet-78ecfccd774a77ae3d7a51e3f5c7c7c86cf7985b.tar.gz gnunet-78ecfccd774a77ae3d7a51e3f5c7c7c86cf7985b.zip |
[datastore] Return and update replication
This fixes a couple FIXMEs in the datastore code. The replication value
is now returned from the datastore and the update function can increase
the replication.
Diffstat (limited to 'src/fs/gnunet-service-fs_put.c')
-rw-r--r-- | src/fs/gnunet-service-fs_put.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_put.c b/src/fs/gnunet-service-fs_put.c index cd062bf2b..e8c7f586d 100644 --- a/src/fs/gnunet-service-fs_put.c +++ b/src/fs/gnunet-service-fs_put.c | |||
@@ -176,6 +176,7 @@ delay_dht_put_task (void *cls) | |||
176 | * @param type type of the content | 176 | * @param type type of the content |
177 | * @param priority priority of the content | 177 | * @param priority priority of the content |
178 | * @param anonymity anonymity-level for the content | 178 | * @param anonymity anonymity-level for the content |
179 | * @param replication replication-level for the content | ||
179 | * @param expiration expiration time for the content | 180 | * @param expiration expiration time for the content |
180 | * @param uid unique identifier for the datum; | 181 | * @param uid unique identifier for the datum; |
181 | * maybe 0 if no unique identifier is available | 182 | * maybe 0 if no unique identifier is available |
@@ -188,6 +189,7 @@ process_dht_put_content (void *cls, | |||
188 | enum GNUNET_BLOCK_Type type, | 189 | enum GNUNET_BLOCK_Type type, |
189 | uint32_t priority, | 190 | uint32_t priority, |
190 | uint32_t anonymity, | 191 | uint32_t anonymity, |
192 | uint32_t replication, | ||
191 | struct GNUNET_TIME_Absolute expiration, | 193 | struct GNUNET_TIME_Absolute expiration, |
192 | uint64_t uid) | 194 | uint64_t uid) |
193 | { | 195 | { |