summaryrefslogtreecommitdiffstats
path: root/src/worker_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker_private.h')
-rw-r--r--src/worker_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker_private.h b/src/worker_private.h
index 398c5d23d..35a2b465b 100644
--- a/src/worker_private.h
+++ b/src/worker_private.h
@@ -30,7 +30,7 @@ struct rspamd_lang_detector;
struct rspamd_worker_ctx {
guint64 magic;
/* Events base */
- struct event_base *ev_base;
+ struct ev_loop *ev_base;
/* DNS resolver */
struct rspamd_dns_resolver *resolver;
/* Config */
@@ -57,7 +57,7 @@ struct rspamd_worker_ctx {
* Init scanning routines
*/
void rspamd_worker_init_scanner (struct rspamd_worker *worker,
- struct event_base *ev_base,
+ struct ev_loop *ev_base,
struct rspamd_dns_resolver *resolver,
struct rspamd_lang_detector **plang_det);