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

index d1b1b9fce6756b589ffab59a1f1a0e7913865372..626638d556c25caf8da5508f3a7962b02d4ba474 100644 (file)
@@ -130,6 +130,7 @@ static unsigned int
 idx_of (const struct GNUNET_CONTAINER_MultiHashMap *m,
         const GNUNET_HashCode * key)
 {
+  GNUNET_assert (m!=NULL);
   return (*(unsigned int *) key) % m->map_length;
 }