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/dht/gnunet-service-dht_neighbours.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/dht/gnunet-service-dht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 7401eb8ac..198b64f53 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -2018,7 +2018,7 @@ GDS_NEIGHBOURS_init () | |||
2018 | GNUNET_NO, core_handlers); | 2018 | GNUNET_NO, core_handlers); |
2019 | if (coreAPI == NULL) | 2019 | if (coreAPI == NULL) |
2020 | return GNUNET_SYSERR; | 2020 | return GNUNET_SYSERR; |
2021 | all_known_peers = GNUNET_CONTAINER_multihashmap_create (256); | 2021 | all_known_peers = GNUNET_CONTAINER_multihashmap_create (256, GNUNET_NO); |
2022 | return GNUNET_OK; | 2022 | return GNUNET_OK; |
2023 | } | 2023 | } |
2024 | 2024 | ||