diff options
Diffstat (limited to 'src/datacache/datacache.c')
-rw-r--r-- | src/datacache/datacache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c index 18a2ed228..7c0a975da 100644 --- a/src/datacache/datacache.c +++ b/src/datacache/datacache.c | |||
@@ -260,7 +260,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h) | |||
260 | * | 260 | * |
261 | * @param h handle to the datacache | 261 | * @param h handle to the datacache |
262 | * @param key key to store data under | 262 | * @param key key to store data under |
263 | * @param am_closest are we the closest peer? | 263 | * @param xor_distance distance of @a key to our PID |
264 | * @param data_size number of bytes in @a data | 264 | * @param data_size number of bytes in @a data |
265 | * @param data data to store | 265 | * @param data data to store |
266 | * @param type type of the value | 266 | * @param type type of the value |
@@ -272,7 +272,7 @@ GNUNET_DATACACHE_destroy (struct GNUNET_DATACACHE_Handle *h) | |||
272 | int | 272 | int |
273 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | 273 | GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, |
274 | const struct GNUNET_HashCode *key, | 274 | const struct GNUNET_HashCode *key, |
275 | int am_closest, | 275 | uint32_t xor_distance, |
276 | size_t data_size, | 276 | size_t data_size, |
277 | const char *data, | 277 | const char *data, |
278 | enum GNUNET_BLOCK_Type type, | 278 | enum GNUNET_BLOCK_Type type, |
@@ -284,7 +284,7 @@ GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h, | |||
284 | 284 | ||
285 | used = h->api->put (h->api->cls, | 285 | used = h->api->put (h->api->cls, |
286 | key, | 286 | key, |
287 | am_closest, | 287 | xor_distance, |
288 | data_size, | 288 | data_size, |
289 | data, | 289 | data, |
290 | type, | 290 | type, |