aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-20 18:21:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-20 18:21:21 +0000
commit1b251c6d60b428719487f3fc2ff710c075a0937f (patch)
tree23f5d13ddfc5cdca3608167fe5c20e448ba836e4 /src/controller.c
parentaa075e8ad006484fe7fe9d99b777f814cf3939e7 (diff)
downloadrspamd-1b251c6d60b428719487f3fc2ff710c075a0937f.tar.gz
rspamd-1b251c6d60b428719487f3fc2ff710c075a0937f.zip
Adopt DNS logging.
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 269ca6db2..92dd87d91 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1986,7 +1986,7 @@ start_controller (struct rspamd_worker *worker)
rspamd_snprintf (greetingbuf, sizeof (greetingbuf), "Rspamd version %s is running on %s" CRLF, RVERSION, hostbuf);
start_map_watch (worker->srv->cfg, ctx->ev_base);
- ctx->resolver = dns_resolver_init (ctx->ev_base, worker->srv->cfg);
+ ctx->resolver = dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg);
event_base_loop (ctx->ev_base, 0);