aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-07 18:19:32 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-07 18:19:32 +0000
commita60b958f984d08525b636a2c7eae564ebec54ae6 (patch)
tree6dcbbf91d734834f804b2fd9ab790244e2d60e6c /src/dht/dht_api.c
parentdecf459805cdb3f6811f979df4831bc2ce9a2858 (diff)
downloadgnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.tar.gz
gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.zip
-chaning multihashmap API to allow option for avoiding key allocation
Diffstat (limited to 'src/dht/dht_api.c')
-rw-r--r--src/dht/dht_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c
index 46436755b..023ffe60d 100644
--- a/src/dht/dht_api.c
+++ b/src/dht/dht_api.c
@@ -915,7 +915,7 @@ GNUNET_DHT_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
915 handle->cfg = cfg; 915 handle->cfg = cfg;
916 handle->uid_gen = 916 handle->uid_gen =
917 GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX); 917 GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX);
918 handle->active_requests = GNUNET_CONTAINER_multihashmap_create (ht_len); 918 handle->active_requests = GNUNET_CONTAINER_multihashmap_create (ht_len, GNUNET_NO);
919 if (GNUNET_NO == try_connect (handle)) 919 if (GNUNET_NO == try_connect (handle))
920 { 920 {
921 GNUNET_DHT_disconnect (handle); 921 GNUNET_DHT_disconnect (handle);