diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-28 07:35:59 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-28 07:35:59 +0000 |
commit | 2b36b7740e09a784af6488d111179ff9cf330d40 (patch) | |
tree | 6e8b51af110a4253935d43a5c37750a77b8eac10 /src/util/container_multihashmap.c | |
parent | f491c88140c2eac5b3f8bf142b9354651e314a58 (diff) | |
download | gnunet-2b36b7740e09a784af6488d111179ff9cf330d40.tar.gz gnunet-2b36b7740e09a784af6488d111179ff9cf330d40.zip |
Diffstat (limited to 'src/util/container_multihashmap.c')
-rw-r--r-- | src/util/container_multihashmap.c | 2 |
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]; |