projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ad79c
)
completely stupid mistake.
author
Pierre Habouzit
<madcoder@debian.org>
Mon, 28 May 2007 11:37:25 +0000
(13:37 +0200)
committer
Pierre Habouzit
<madcoder@debian.org>
Mon, 28 May 2007 11:37:25 +0000
(13:37 +0200)
lib-lib/hash.c
patch
|
blob
|
history
diff --git
a/lib-lib/hash.c
b/lib-lib/hash.c
index
008c8fe
..
569ed30
100644
(file)
--- a/
lib-lib/hash.c
+++ b/
lib-lib/hash.c
@@
-40,7
+40,7
@@
int hash_string(const unsigned char *s, int n)
hash_t *hash_init(hash_t *table, int nelem, int allow_dup)
{
table->dupes = allow_dup;
- table->nelem = M
IN
(nelem, 2);
+ table->nelem = M
AX
(nelem, 2);
table->curnelem = 0;
table->table = p_new(struct hash_elem *, table->nelem);
return table;