projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getmax[xy] do that, even if obsolete, I don't care, I'll use them.
[apps/madmutt.git]
/
lib-lib
/
hash.c
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;