diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-03-23 01:00:23 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-03-23 01:00:23 +0200 |
commit | 0d6e3714113d50a5f197c9035cf1bd22d2259714 (patch) | |
tree | e76e530f2d18d139e81158bd920dc250fe2cd41c /src/appconfig.c | |
parent | 1119e94bdf93ae37911b560fdbbbcdc9c1ee3f93 (diff) |
allow all configuration options to be set from the command line; #1991
Diffstat (limited to 'src/appconfig.c')
-rw-r--r-- | src/appconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appconfig.c b/src/appconfig.c index 71ff4b75e2..ae92ad0454 100644 --- a/src/appconfig.c +++ b/src/appconfig.c @@ -337,7 +337,7 @@ const char *appconfig_set_default(struct config *root, const char *section, cons { struct config_option *cv; - debug(D_CONFIG, "request to set config in section '%s', name '%s', value '%s'", section, name, value); + debug(D_CONFIG, "request to set default config in section '%s', name '%s', value '%s'", section, name, value); struct section *co = appconfig_section_find(root, section); if(!co) return appconfig_set(root, section, name, value); @@ -558,7 +558,7 @@ void appconfig_generate(struct config *root, BUFFER *wb, int only_changed) if(only_changed && !changed) continue; if(!used) { - buffer_sprintf(wb, "\n# node '%s' is not used.", co->name); + buffer_sprintf(wb, "\n# section '%s' is not used.", co->name); } buffer_sprintf(wb, "\n[%s]\n", co->name); |