aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 17:08:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-16 17:08:57 +0000
commite4d146bfc88fdeed63034f7cc85f2602b25163fb (patch)
treed3a84e44f00fccaa92618c502c11f8c1aecb743b /src/lua_worker.c
parent7a1aac9058a1b5f06d3212f1abf1eae701775a92 (diff)
downloadrspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.tar.gz
rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.zip
Fix maps initialisation
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 8f02e12b2..799379c00 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -390,7 +390,7 @@ start_lua_worker (struct rspamd_worker *worker)
}
/* Maps events */
- rspamd_map_watch (worker->srv->cfg, ctx->ev_base);
+ rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver);
event_base_loop (ctx->ev_base, 0);
rspamd_worker_block_signals ();