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/core/gnunet-service-core_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/core/gnunet-service-core_neighbours.c')
-rw-r--r-- | src/core/gnunet-service-core_neighbours.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c index 3b1357425..aa77fe47e 100644 --- a/src/core/gnunet-service-core_neighbours.c +++ b/src/core/gnunet-service-core_neighbours.c | |||
@@ -464,7 +464,7 @@ GSC_NEIGHBOURS_transmit (const struct GNUNET_PeerIdentity *target, | |||
464 | int | 464 | int |
465 | GSC_NEIGHBOURS_init () | 465 | GSC_NEIGHBOURS_init () |
466 | { | 466 | { |
467 | neighbours = GNUNET_CONTAINER_multihashmap_create (128); | 467 | neighbours = GNUNET_CONTAINER_multihashmap_create (128, GNUNET_NO); |
468 | transport = | 468 | transport = |
469 | GNUNET_TRANSPORT_connect (GSC_cfg, &GSC_my_identity, NULL, | 469 | GNUNET_TRANSPORT_connect (GSC_cfg, &GSC_my_identity, NULL, |
470 | &handle_transport_receive, | 470 | &handle_transport_receive, |