diff options
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/plugin_datacache_heap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/datacache/plugin_datacache_heap.c b/src/datacache/plugin_datacache_heap.c index a32835cf4..afc320b20 100644 --- a/src/datacache/plugin_datacache_heap.c +++ b/src/datacache/plugin_datacache_heap.c | |||
@@ -245,7 +245,8 @@ heap_plugin_put (void *cls, | |||
245 | GNUNET_array_grow (val->path_info, | 245 | GNUNET_array_grow (val->path_info, |
246 | val->path_info_len, | 246 | val->path_info_len, |
247 | path_info_len); | 247 | path_info_len); |
248 | memcpy (val->path_info, path_info, | 248 | memcpy (val->path_info, |
249 | path_info, | ||
249 | path_info_len * sizeof (struct GNUNET_PeerIdentity)); | 250 | path_info_len * sizeof (struct GNUNET_PeerIdentity)); |
250 | (void) GNUNET_CONTAINER_multihashmap_put (plugin->map, | 251 | (void) GNUNET_CONTAINER_multihashmap_put (plugin->map, |
251 | &val->key, | 252 | &val->key, |