aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-27 19:23:26 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-27 19:23:26 +0300
commit5a21d1f8f5809db3d3b52f3127120a83ca70f2aa (patch)
treebc01e7797e7ea57e9eec07c4cd330f441540abe7 /src/hash.c
parenta450d0faa8851a7df8dbb52788f99fe216f57c3d (diff)
downloadrspamd-5a21d1f8f5809db3d3b52f3127120a83ca70f2aa.tar.gz
rspamd-5a21d1f8f5809db3d3b52f3127120a83ca70f2aa.zip
* Use prime number for hash nodes initial value
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 2be705999..54791f8f2 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -18,7 +18,7 @@
#include <stdlib.h>
#include "hash.h"
-#define HASH_TABLE_MIN_SIZE 20
+#define HASH_TABLE_MIN_SIZE 19
#define HASH_TABLE_MAX_SIZE 13845163
/*