aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 13:19:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-29 13:19:14 +0000
commit34f0b5587e72a7f77425d9faccac8b03b363fdcc (patch)
tree1a03c4c065315bdbdf02f47bfc6c9e64ab90e7d7 /src/plugins
parent8376bed06ce63da58256c383f1899f17094140d1 (diff)
downloadrspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.tar.gz
rspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.zip
[Rework] Change time handling
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 1f16c5a48..79ffc70a5 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -3037,9 +3037,9 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent,
struct fuzzy_ctx *fuzzy_module_ctx;
/* Prepare task */
- task = rspamd_task_new (session->wrk, session->cfg, NULL, session->lang_det);
+ task = rspamd_task_new (session->wrk, session->cfg, NULL,
+ session->lang_det, conn_ent->rt->ev_base);
task->cfg = ctx->cfg;
- task->ev_base = conn_ent->rt->ev_base;
saved = rspamd_mempool_alloc0 (session->pool, sizeof (gint));
err = rspamd_mempool_alloc0 (session->pool, sizeof (GError *));
fuzzy_module_ctx = fuzzy_get_context (ctx->cfg);