summaryrefslogtreecommitdiffstats
path: root/src/worker_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker_util.c')
-rw-r--r--src/worker_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker_util.c b/src/worker_util.c
index 976fe58c3..541d4f1e4 100644
--- a/src/worker_util.c
+++ b/src/worker_util.c
@@ -74,11 +74,11 @@ construct_task (struct rspamd_worker *worker)
/* Add destructor for recipients list (it would be better to use anonymous function here */
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);
+ new_task->results = g_hash_table_new (rspamd_str_hash, rspamd_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_str_hash, g_str_equal);
+ new_task->re_cache = g_hash_table_new (rspamd_str_hash, rspamd_str_equal);
memory_pool_add_destructor (new_task->task_pool,
(pool_destruct_func) g_hash_table_destroy,
new_task->re_cache);