diff options
Diffstat (limited to 'src/datacache/plugin_datacache_template.c')
-rw-r--r-- | src/datacache/plugin_datacache_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_template.c b/src/datacache/plugin_datacache_template.c index 28bcbcd26..1064d3125 100644 --- a/src/datacache/plugin_datacache_template.c +++ b/src/datacache/plugin_datacache_template.c | |||
@@ -45,7 +45,7 @@ struct Plugin | |||
45 | * | 45 | * |
46 | * @param cls closure (our `struct Plugin`) | 46 | * @param cls closure (our `struct Plugin`) |
47 | * @param key key to store @a data under | 47 | * @param key key to store @a data under |
48 | * @param am_closest are we the closest peer? | 48 | * @param xor_distance distance of @a key to our PID |
49 | * @param size number of bytes in @a data | 49 | * @param size number of bytes in @a data |
50 | * @param data data to store | 50 | * @param data data to store |
51 | * @param type type of the value | 51 | * @param type type of the value |
@@ -57,7 +57,7 @@ struct Plugin | |||
57 | static ssize_t | 57 | static ssize_t |
58 | template_plugin_put (void *cls, | 58 | template_plugin_put (void *cls, |
59 | const struct GNUNET_HashCode *key, | 59 | const struct GNUNET_HashCode *key, |
60 | int am_closest, | 60 | uint32_t xor_distance, |
61 | size_t size, | 61 | size_t size, |
62 | const char *data, | 62 | const char *data, |
63 | enum GNUNET_BLOCK_Type type, | 63 | enum GNUNET_BLOCK_Type type, |