aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/dns.h')
-rw-r--r--src/libserver/dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/dns.h b/src/libserver/dns.h
index 158ac504e..c744ac42e 100644
--- a/src/libserver/dns.h
+++ b/src/libserver/dns.h
@@ -28,7 +28,7 @@ struct rspamd_config;
struct rspamd_dns_resolver {
struct rdns_resolver *r;
- struct event_base *ev_base;
+ struct ev_loop *event_loop;
struct upstream_list *ups;
struct rspamd_config *cfg;
gdouble request_timeout;
@@ -41,7 +41,7 @@ struct rspamd_dns_resolver {
* Init DNS resolver, params are obtained from a config file or system file /etc/resolv.conf
*/
struct rspamd_dns_resolver * rspamd_dns_resolver_init (rspamd_logger_t *logger,
- struct event_base *ev_base, struct rspamd_config *cfg);
+ struct ev_loop *ev_base, struct rspamd_config *cfg);
struct rspamd_dns_request_ud;
/**