summaryrefslogtreecommitdiffstats
path: root/src/controller.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/controller.c
parent7a1aac9058a1b5f06d3212f1abf1eae701775a92 (diff)
downloadrspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.tar.gz
rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.zip
Fix maps initialisation
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 67f45b7c3..66c2a35f9 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2656,7 +2656,7 @@ start_controller_worker (struct rspamd_worker *worker)
rspamd_upstreams_library_config (worker->srv->cfg, worker->srv->cfg->ups_ctx,
ctx->ev_base, ctx->resolver->r);
/* Maps events */
- rspamd_map_watch (worker->srv->cfg, ctx->ev_base);
+ rspamd_map_watch (worker->srv->cfg, ctx->ev_base, ctx->resolver);
rspamd_symbols_cache_start_refresh (worker->srv->cfg->cache, ctx->ev_base);
rspamd_stat_init (worker->srv->cfg, ctx->ev_base);