aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configtest.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-29 16:58:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-29 16:58:54 +0100
commite8366d156e09eba81ae38f57c41c74ec203c27bc (patch)
tree4e288c722057cf3948eeb659b4352b40b4eb9dbb /src/rspamadm/configtest.c
parent099cb8fb099054d2711c61ebfac1be05f9519748 (diff)
downloadrspamd-e8366d156e09eba81ae38f57c41c74ec203c27bc.tar.gz
rspamd-e8366d156e09eba81ae38f57c41c74ec203c27bc.zip
[Minor] Rework config load routines
Diffstat (limited to 'src/rspamadm/configtest.c')
-rw-r--r--src/rspamadm/configtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rspamadm/configtest.c b/src/rspamadm/configtest.c
index 94914e817..72a8f4945 100644
--- a/src/rspamadm/configtest.c
+++ b/src/rspamadm/configtest.c
@@ -141,8 +141,7 @@ rspamadm_configtest (gint argc, gchar **argv, const struct rspamadm_command *cmd
cfg->compiled_workers = workers;
cfg->cfg_name = config;
- if (!rspamd_config_read (cfg, cfg->cfg_name, NULL,
- config_logger, rspamd_main, ucl_vars)) {
+ if (!rspamd_config_read (cfg, cfg->cfg_name, config_logger, rspamd_main, ucl_vars)) {
ret = FALSE;
}
else {