(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 28 Jun 2010 07:35:59 +0000 (07:35 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 28 Jun 2010 07:35:59 +0000 (07:35 +0000)
src/util/container_multihashmap.c

index 5b66442cb953ff98d911e0bb4c185274f743f79a..d1b1b9fce6756b589ffab59a1f1a0e7913865372 100644 (file)
@@ -197,6 +197,8 @@ GNUNET_CONTAINER_multihashmap_iterate (const struct
   GNUNET_HashCode kc;
 
   count = 0;
+  GNUNET_assert(map!=NULL);
+
   for (i = 0; i < map->map_length; i++)
     {
       n = map->map[i];