aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-18 15:07:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-18 15:07:23 +0100
commit7ad5db6680c8b948d9ce462112b5e30ba8c83d15 (patch)
treef6533e720739aaa86b69b9d1ec9d9057d82b4e78 /src
parentb48bec57d58d6a8d50f8ca19689caf32301bc8bc (diff)
downloadrspamd-7ad5db6680c8b948d9ce462112b5e30ba8c83d15.tar.gz
rspamd-7ad5db6680c8b948d9ce462112b5e30ba8c83d15.zip
Fix config post-load.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 0094907a7..cee241bbc 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -387,11 +387,11 @@ rspamd_config_post_load (struct rspamd_config *cfg)
(void)rspamd_lua_post_load_config (cfg);
init_dynamic_config (cfg);
- rspamd_stat_init (rspamd_main->cfg);
- rspamd_url_init (rspamd_main->cfg->tld_file);
+ rspamd_stat_init (cfg);
+ rspamd_url_init (cfg->tld_file);
/* Insert classifiers symbols */
- (void)rspamd_config_insert_classify_symbols (rspamd_main->cfg);
+ (void)rspamd_config_insert_classify_symbols (cfg);
}
#if 0