diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 16:58:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-29 16:58:54 +0100 |
commit | e8366d156e09eba81ae38f57c41c74ec203c27bc (patch) | |
tree | 4e288c722057cf3948eeb659b4352b40b4eb9dbb /src/rspamadm/configdump.c | |
parent | 099cb8fb099054d2711c61ebfac1be05f9519748 (diff) | |
download | rspamd-e8366d156e09eba81ae38f57c41c74ec203c27bc.tar.gz rspamd-e8366d156e09eba81ae38f57c41c74ec203c27bc.zip |
[Minor] Rework config load routines
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r-- | src/rspamadm/configdump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c index 486a74cef..bd776e586 100644 --- a/src/rspamadm/configdump.c +++ b/src/rspamadm/configdump.c @@ -283,8 +283,7 @@ rspamadm_configdump (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 { |