diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-28 07:39:25 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-28 07:39:25 +0000 |
commit | 14cd6d30df08dd7cf60b134b5c165de5b31c2fc3 (patch) | |
tree | e133a77cfc82fb260bc66214c6f76c60d28275f9 | |
parent | 2b36b7740e09a784af6488d111179ff9cf330d40 (diff) | |
download | gnunet-14cd6d30df08dd7cf60b134b5c165de5b31c2fc3.tar.gz gnunet-14cd6d30df08dd7cf60b134b5c165de5b31c2fc3.zip |
-rw-r--r-- | src/util/container_multihashmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/container_multihashmap.c b/src/util/container_multihashmap.c index d1b1b9fce..626638d55 100644 --- a/src/util/container_multihashmap.c +++ b/src/util/container_multihashmap.c | |||
@@ -130,6 +130,7 @@ static unsigned int | |||
130 | idx_of (const struct GNUNET_CONTAINER_MultiHashMap *m, | 130 | idx_of (const struct GNUNET_CONTAINER_MultiHashMap *m, |
131 | const GNUNET_HashCode * key) | 131 | const GNUNET_HashCode * key) |
132 | { | 132 | { |
133 | GNUNET_assert (m!=NULL); | ||
133 | return (*(unsigned int *) key) % m->map_length; | 134 | return (*(unsigned int *) key) % m->map_length; |
134 | } | 135 | } |
135 | 136 | ||