diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-29 13:19:14 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-29 13:19:14 +0000 |
commit | 34f0b5587e72a7f77425d9faccac8b03b363fdcc (patch) | |
tree | 1a03c4c065315bdbdf02f47bfc6c9e64ab90e7d7 /src/plugins | |
parent | 8376bed06ce63da58256c383f1899f17094140d1 (diff) | |
download | rspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.tar.gz rspamd-34f0b5587e72a7f77425d9faccac8b03b363fdcc.zip |
[Rework] Change time handling
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fuzzy_check.c | 4 |
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); |