diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:48:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:48:10 +0000 |
commit | 0f3caa49abab25613b9adb60427929882a17eabc (patch) | |
tree | 26dcca19169fe2fde7b4bc3136ab81007f8f5be6 /src/datacache/plugin_datacache_heap.c | |
parent | c82072eaae70a10f46dfc448e9aefd80cde2ae45 (diff) | |
download | gnunet-0f3caa49abab25613b9adb60427929882a17eabc.tar.gz gnunet-0f3caa49abab25613b9adb60427929882a17eabc.zip |
-fix shifting issues
Diffstat (limited to 'src/datacache/plugin_datacache_heap.c')
-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, |