aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_worker.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/lua_worker.c
parentaa075e8ad006484fe7fe9d99b777f814cf3939e7 (diff)
downloadrspamd-1b251c6d60b428719487f3fc2ff710c075a0937f.tar.gz
rspamd-1b251c6d60b428719487f3fc2ff710c075a0937f.zip
Adopt DNS logging.
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r--src/lua_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index 8b04b8838..e9b06f508 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -454,7 +454,7 @@ start_lua_worker (struct rspamd_worker *worker)
event_base_set (ctx->ev_base, &worker->sig_ev_usr1);
signal_add (&worker->sig_ev_usr1, NULL);
- 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);
/* Open worker's lib */
luaopen_lua_worker (L);