diff options
Diffstat (limited to 'src/fs/fs_sharetree.c')
-rw-r--r-- | src/fs/fs_sharetree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_sharetree.c b/src/fs/fs_sharetree.c index 14beae5c8..906e78dd3 100644 --- a/src/fs/fs_sharetree.c +++ b/src/fs/fs_sharetree.c | |||
@@ -172,7 +172,7 @@ add_to_keyword_counter (void *cls, const char *keyword, int is_mandatory) | |||
172 | { | 172 | { |
173 | cnt = GNUNET_malloc (sizeof (struct KeywordCounter) + klen); | 173 | cnt = GNUNET_malloc (sizeof (struct KeywordCounter) + klen); |
174 | cnt->value = (const char *) &cnt[1]; | 174 | cnt->value = (const char *) &cnt[1]; |
175 | memcpy (&cnt[1], keyword, klen); | 175 | GNUNET_memcpy (&cnt[1], keyword, klen); |
176 | GNUNET_assert (GNUNET_OK == | 176 | GNUNET_assert (GNUNET_OK == |
177 | GNUNET_CONTAINER_multihashmap_put (mcm, | 177 | GNUNET_CONTAINER_multihashmap_put (mcm, |
178 | &hc, cnt, | 178 | &hc, cnt, |