aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multihashmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r--src/util/container_multihashmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c
index 5b66442cb..d1b1b9fce 100644
--- a/src/util/container_multihashmap.c
+++ b/src/util/container_multihashmap.c
@@ -197,6 +197,8 @@ GNUNET_CONTAINER_multihashmap_iterate (const struct
197 GNUNET_HashCode kc; 197 GNUNET_HashCode kc;
198 198
199 count = 0; 199 count = 0;
200 GNUNET_assert(map!=NULL);
201
200 for (i = 0; i < map->map_length; i++) 202 for (i = 0; i < map->map_length; i++)
201 { 203 {
202 n = map->map[i]; 204 n = map->map[i];