aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configtest.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 15:19:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 15:19:36 +0000
commitceb133b5e603c04cfa5c8da8851c8134523e0ee9 (patch)
tree631e1f166147a6a5bf3b6b1c50527f1514e2f4e3 /src/rspamadm/configtest.c
parentb33f3fa4cfa42f1b92192ff18eb893b8bd93a1e9 (diff)
downloadrspamd-ceb133b5e603c04cfa5c8da8851c8134523e0ee9.tar.gz
rspamd-ceb133b5e603c04cfa5c8da8851c8134523e0ee9.zip
Fix issues found
Diffstat (limited to 'src/rspamadm/configtest.c')
-rw-r--r--src/rspamadm/configtest.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/rspamadm/configtest.c b/src/rspamadm/configtest.c
index 1de694975..65f358f66 100644
--- a/src/rspamadm/configtest.c
+++ b/src/rspamadm/configtest.c
@@ -150,25 +150,13 @@ rspamadm_configtest (gint argc, gchar **argv)
}
else {
/* Do post-load actions */
- rspamd_config_post_load (cfg);
- ret = TRUE;
+ ret = rspamd_config_post_load (cfg, TRUE);
}
if (ret) {
- rspamd_symbols_cache_init (rspamd_main->cfg->cache);
-
if (!rspamd_init_filters (rspamd_main->cfg, FALSE)) {
ret = FALSE;
}
-
- /* Insert classifiers symbols */
- (void) rspamd_config_insert_classify_symbols (rspamd_main->cfg);
-
- if (!rspamd_symbols_cache_validate (rspamd_main->cfg->cache,
- rspamd_main->cfg,
- FALSE)) {
- ret = FALSE;
- }
}
if (strict && ret) {