diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-04 19:53:43 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-05-04 19:53:43 +0400 |
commit | 3604753e01e1ab6b9c4a43ea199b1cb466960df6 (patch) | |
tree | b3e86cfc98d3cbcf430fd9f370b66083be4d5f42 /src/statfile.c | |
parent | 9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b (diff) | |
download | rspamd-3604753e01e1ab6b9c4a43ea199b1cb466960df6.tar.gz rspamd-3604753e01e1ab6b9c4a43ea199b1cb466960df6.zip |
* Fix shared hashes avoiding its resizing
Diffstat (limited to 'src/statfile.c')
-rw-r--r-- | src/statfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile.c b/src/statfile.c index e41c1af15..008154194 100644 --- a/src/statfile.c +++ b/src/statfile.c @@ -110,7 +110,7 @@ statfile_pool_new (size_t max_size) new->pool = memory_pool_new (memory_pool_get_size ()); new->max = max_size; new->files = rspamd_hash_new (new->pool, g_str_hash, g_str_equal); - new->maps = rspamd_hash_new_shared (new->pool, g_str_hash, g_str_equal); + new->maps = rspamd_hash_new_shared (new->pool, g_str_hash, g_str_equal, 64); return new; } |