diff options
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r-- | src/libserver/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c index 16b33294e..62b8725c3 100644 --- a/src/libserver/task.c +++ b/src/libserver/task.c @@ -75,7 +75,7 @@ struct rspamd_task * rspamd_task_new (struct rspamd_worker *worker, struct rspamd_config *cfg, rspamd_mempool_t *pool, struct rspamd_lang_detector *lang_det, - struct event_base *ev_base) + struct ev_loop *ev_base) { struct rspamd_task *new_task; @@ -101,7 +101,7 @@ rspamd_task_new (struct rspamd_worker *worker, struct rspamd_config *cfg, } } - new_task->ev_base = ev_base; + new_task->event_loop = ev_base; #ifdef HAVE_EVENT_NO_CACHE_TIME_FUNC if (ev_base) { |