aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/container_multihashmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 38cd65753..2c88b1a52 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -403,7 +403,10 @@ GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map,
403 } 403 }
404 } 404 }
405 if (map->size / 3 >= map->map_length / 4) 405 if (map->size / 3 >= map->map_length / 4)
406 grow (map); 406 {
407 grow (map);
408 i = idx_of (map, key);
409 }
407 e = GNUNET_malloc (sizeof (struct MapEntry)); 410 e = GNUNET_malloc (sizeof (struct MapEntry));
408 e->key = *key; 411 e->key = *key;
409 e->value = value; 412 e->value = value;