Minor cleanups. Logfile now has a header. We no longer log the entire config file, use -C (--dumpcfg) to enable that.

This commit is contained in:
waltje
2017-10-21 20:29:11 -04:00
parent cd9253c9b8
commit 8890281b58
5 changed files with 45 additions and 62 deletions

View File

@@ -8,7 +8,7 @@
*
* Configuration file handler.
*
* Version: @(#)config.c 1.0.25 2017/10/19
* Version: @(#)config.c 1.0.25 2017/10/21
*
* Authors: Sarah Walker,
* Miran Grca, <mgrca8@gmail.com>
@@ -328,8 +328,9 @@ config_read(wchar_t *fn)
}
(void)fclose(f);
config_dump();
if (do_dump_config)
config_dump();
return(1);
}