diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 15:00:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 15:00:01 +0100 |
commit | 6943c3c3a4dd1334aa041fcd7df9598ecec3f152 (patch) | |
tree | fa00017db0e4bf42d211c92088b72912c423fe7d /src/controller.c | |
parent | 641353ecb1c68ef7642a15d861ff59aba672ac54 (diff) | |
download | rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.tar.gz rspamd-6943c3c3a4dd1334aa041fcd7df9598ecec3f152.zip |
[Minor] Refactor DNS resolver invocations
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index 7b48462ee..a1fa85ebf 100644 --- a/src/controller.c +++ b/src/controller.c @@ -3891,7 +3891,7 @@ start_controller_worker (struct rspamd_worker *worker) rspamd_http_router_set_unknown_handler (ctx->http, rspamd_controller_handle_unknown); - ctx->resolver = dns_resolver_init (worker->srv->logger, + ctx->resolver = rspamd_dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg); |