From 6943c3c3a4dd1334aa041fcd7df9598ecec3f152 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 11 Apr 2019 15:00:01 +0100 Subject: [Minor] Refactor DNS resolver invocations --- 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 40e3d07f9..ee8b261d6 100644 --- a/src/worker.c +++ b/src/worker.c @@ -685,7 +685,7 @@ start_worker (struct rspamd_worker *worker) } } - ctx->resolver = dns_resolver_init (worker->srv->logger, + ctx->resolver = rspamd_dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg); rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver, worker, 0); -- cgit v1.2.3