summaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-11 15:00:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-11 15:00:01 +0100
commit6943c3c3a4dd1334aa041fcd7df9598ecec3f152 (patch)
treefa00017db0e4bf42d211c92088b72912c423fe7d /src/rspamd_proxy.c
parent641353ecb1c68ef7642a15d861ff59aba672ac54 (diff)
downloadrspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.tar.gz
rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.zip
[Minor] Refactor DNS resolver invocations
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index 446552b81..db654c0b0 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -2168,7 +2168,7 @@ start_rspamd_proxy (struct rspamd_worker *worker)
ctx->ev_base = rspamd_prepare_worker (worker, "rspamd_proxy",
proxy_accept_socket);
- ctx->resolver = dns_resolver_init (worker->srv->logger,
+ ctx->resolver = rspamd_dns_resolver_init (worker->srv->logger,
ctx->ev_base,
worker->srv->cfg);
double_to_tv (ctx->timeout, &ctx->io_tv);