summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:35:45 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:35:45 +0400
commit9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b (patch)
treed57ef19c079d27024586a078acff349aa8b37c9b /src/worker.c
parent05556b30f9f309abc532f26c86a2e8266c2e72c7 (diff)
downloadrspamd-9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b.tar.gz
rspamd-9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b.zip
* Fix error in regexps results hashing
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 5242c0087..e97454121 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -291,7 +291,7 @@ accept_socket (int fd, short what, void *arg)
memory_pool_add_destructor (new_task->task_pool, (pool_destruct_func)rcpt_destruct, new_task);
new_task->results = g_hash_table_new (g_str_hash, g_str_equal);
memory_pool_add_destructor (new_task->task_pool, (pool_destruct_func)g_hash_table_destroy, new_task->results);
- new_task->re_cache = g_hash_table_new (g_direct_hash, g_direct_equal);
+ new_task->re_cache = g_hash_table_new (g_str_hash, g_str_equal);
memory_pool_add_destructor (new_task->task_pool, (pool_destruct_func)g_hash_table_destroy, new_task->re_cache);
worker->srv->stat->connections_count ++;