aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-01 18:58:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-01 18:58:01 +0000
commit1f58c5fa9805a404c9a942f110589fce464825df (patch)
tree90708b845ad6139d0b9214a63fd255bf75462af6 /src/plugins/fuzzy_check.c
parent60383ec549918fe5f0a1bbdda09fd74abac56e09 (diff)
downloadrspamd-1f58c5fa9805a404c9a942f110589fce464825df.tar.gz
rspamd-1f58c5fa9805a404c9a942f110589fce464825df.zip
[Project] Initialize language detector
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index a0706830d..a5e6487c1 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -2959,7 +2959,7 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent,
gint r, *saved, rules = 0, err_idx;
/* Prepare task */
- task = rspamd_task_new (session->wrk, session->cfg, NULL);
+ task = rspamd_task_new (session->wrk, session->cfg, NULL, NULL);
task->cfg = ctx->cfg;
task->ev_base = conn_ent->rt->ev_base;
saved = rspamd_mempool_alloc0 (session->pool, sizeof (gint));