diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 17:08:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-02-16 17:08:57 +0000 |
commit | e4d146bfc88fdeed63034f7cc85f2602b25163fb (patch) | |
tree | d3a84e44f00fccaa92618c502c11f8c1aecb743b /src/controller.c | |
parent | 7a1aac9058a1b5f06d3212f1abf1eae701775a92 (diff) | |
download | rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.tar.gz rspamd-e4d146bfc88fdeed63034f7cc85f2602b25163fb.zip |
Fix maps initialisation
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 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); |