aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_container_multihashmap.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/util/test_container_multihashmap.c
parentdecf459805cdb3f6811f979df4831bc2ce9a2858 (diff)
downloadgnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.tar.gz
gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.zip
-chaning multihashmap API to allow option for avoiding key allocation
Diffstat (limited to 'src/util/test_container_multihashmap.c')
-rw-r--r--src/util/test_container_multihashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_container_multihashmap.c b/src/util/test_container_multihashmap.c
index befd0ce46..ff50df117 100644
--- a/src/util/test_container_multihashmap.c
+++ b/src/util/test_container_multihashmap.c
@@ -40,7 +40,7 @@ testMap (int i)
40 const char *ret; 40 const char *ret;
41 int j; 41 int j;
42 42
43 CHECK (NULL != (m = GNUNET_CONTAINER_multihashmap_create (i))); 43 CHECK (NULL != (m = GNUNET_CONTAINER_multihashmap_create (i, GNUNET_NO)));
44 memset (&k1, 0, sizeof (k1)); 44 memset (&k1, 0, sizeof (k1));
45 memset (&k2, 1, sizeof (k2)); 45 memset (&k2, 1, sizeof (k2));
46 CHECK (GNUNET_NO == GNUNET_CONTAINER_multihashmap_contains (m, &k1)); 46 CHECK (GNUNET_NO == GNUNET_CONTAINER_multihashmap_contains (m, &k1));