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/topology | |
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/topology')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 9bd6d8e19..2dc3c148b 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c | |||
@@ -1306,7 +1306,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1306 | "TARGET-CONNECTION-COUNT", &opt)) | 1306 | "TARGET-CONNECTION-COUNT", &opt)) |
1307 | opt = 16; | 1307 | opt = 16; |
1308 | target_connection_count = (unsigned int) opt; | 1308 | target_connection_count = (unsigned int) opt; |
1309 | peers = GNUNET_CONTAINER_multihashmap_create (target_connection_count * 2); | 1309 | peers = GNUNET_CONTAINER_multihashmap_create (target_connection_count * 2, GNUNET_NO); |
1310 | 1310 | ||
1311 | if ((friends_only == GNUNET_YES) || (minimum_friend_count > 0)) | 1311 | if ((friends_only == GNUNET_YES) || (minimum_friend_count > 0)) |
1312 | read_friends_file (cfg); | 1312 | read_friends_file (cfg); |