From 98897c179754fb04762d325c83f1e057b44697a3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 15 Jun 2019 16:37:58 +0100 Subject: [Project] First refactoring step libevent->libev --- src/libserver/milter_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libserver/milter_internal.h') diff --git a/src/libserver/milter_internal.h b/src/libserver/milter_internal.h index 1e4b7b187..7da696b36 100644 --- a/src/libserver/milter_internal.h +++ b/src/libserver/milter_internal.h @@ -19,7 +19,7 @@ #include "config.h" #include "libutil/mem_pool.h" -#include +#include "contrib/libev/ev.h" #include "khash.h" #include "libutil/str_util.h" @@ -63,7 +63,7 @@ struct rspamd_milter_private { struct timeval tv; struct rspamd_milter_outbuf *out_chain; struct timeval *ptv; - struct event_base *ev_base; + struct ev_loop *ev_base; rspamd_mempool_t *pool; khash_t(milter_headers_hash_t) *headers; gint cur_hdr; -- cgit v1.2.3