diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-07 18:19:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-07 18:19:32 +0000 |
commit | a60b958f984d08525b636a2c7eae564ebec54ae6 (patch) | |
tree | 6dcbbf91d734834f804b2fd9ab790244e2d60e6c /src/fs/fs_namespace.c | |
parent | decf459805cdb3f6811f979df4831bc2ce9a2858 (diff) | |
download | gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.tar.gz gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.zip |
-chaning multihashmap API to allow option for avoiding key allocation
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r-- | src/fs/fs_namespace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index af1200dc4..eaff8a6d2 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -853,7 +853,8 @@ GNUNET_FS_namespace_list_updateable (struct GNUNET_FS_Namespace *ns, | |||
853 | ns->update_map = | 853 | ns->update_map = |
854 | GNUNET_CONTAINER_multihashmap_create (2 + | 854 | GNUNET_CONTAINER_multihashmap_create (2 + |
855 | 3 * ns->update_node_count / | 855 | 3 * ns->update_node_count / |
856 | 4); | 856 | 4, |
857 | GNUNET_NO); | ||
857 | for (i = 0; i < ns->update_node_count; i++) | 858 | for (i = 0; i < ns->update_node_count; i++) |
858 | { | 859 | { |
859 | nsn = ns->update_nodes[i]; | 860 | nsn = ns->update_nodes[i]; |