projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b36b77
)
(no commit message)
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 28 Jun 2010 07:39:25 +0000
(07:39 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 28 Jun 2010 07:39:25 +0000
(07:39 +0000)
src/util/container_multihashmap.c
patch
|
blob
|
history
diff --git
a/src/util/container_multihashmap.c
b/src/util/container_multihashmap.c
index d1b1b9fce6756b589ffab59a1f1a0e7913865372..626638d556c25caf8da5508f3a7962b02d4ba474 100644
(file)
--- a/
src/util/container_multihashmap.c
+++ b/
src/util/container_multihashmap.c
@@
-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;
}