aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:03:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-20 17:03:51 +0000
commit3d10a9ead7d1241035160ab3355577051186b0fd (patch)
tree7413ffa6f6ecf18422e95be046f06b9a40e4bc43 /src/libserver/cfg_utils.c
parent64e6d18a31fd069a83baafe308a8c5d6ec3591e1 (diff)
downloadrspamd-3d10a9ead7d1241035160ab3355577051186b0fd.tar.gz
rspamd-3d10a9ead7d1241035160ab3355577051186b0fd.zip
Rework upstreams initialization
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index ce704f8cf..53ce5add4 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -197,6 +197,7 @@ rspamd_config_new (void)
cfg->lua_state = rspamd_lua_init (cfg);
cfg->cache = rspamd_symbols_cache_new (cfg);
+ cfg->ups_ctx = rspamd_upstreams_library_init ();
REF_INIT_RETAIN (cfg, rspamd_config_free);