From 4b75d23d067118e2874ec3b8726d49e3f185b811 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 17 Jun 2019 16:25:07 +0100 Subject: [Project] Adopt Lua API --- src/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/worker.c') diff --git a/src/worker.c b/src/worker.c index a202d0917..62c781c05 100644 --- a/src/worker.c +++ b/src/worker.c @@ -97,7 +97,7 @@ rspamd_worker_call_finish_handlers (struct rspamd_worker *worker) if (cfg->on_term_scripts) { ctx = worker->ctx; /* Create a fake task object for async events */ - task = rspamd_task_new (worker, cfg, NULL, NULL, ctx->ev_base); + task = rspamd_task_new (worker, cfg, NULL, NULL, ctx->event_loop); task->resolver = ctx->resolver; task->flags |= RSPAMD_TASK_FLAG_PROCESSING; task->s = rspamd_session_create (task->task_pool, -- cgit v1.2.3