dovecot-2.2: doveconf: Changed _doveconf_comment symbol suffix t...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 16 14:26:11 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/470ec616ba74
changeset: 17959:470ec616ba74
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 16 07:25:17 2014 -0700
description:
doveconf: Changed _doveconf_comment symbol suffix to _doveconf_banner
That describes its behavior better.

diffstat:

 src/config/doveconf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r e9a05136fff2 -r 470ec616ba74 src/config/doveconf.c
--- a/src/config/doveconf.c	Wed Oct 15 07:37:05 2014 -0700
+++ b/src/config/doveconf.c	Thu Oct 16 07:25:17 2014 -0700
@@ -707,7 +707,7 @@
 	bool config_path_specified, expand_vars = FALSE, hide_key = FALSE;
 	bool parse_full_config = FALSE, simple_output = FALSE;
 	bool dump_defaults = FALSE, host_verify = FALSE;
-	bool print_plugin_comment = FALSE;
+	bool print_plugin_banner = FALSE;
 
 	if (getenv("USE_SYSEXITS") != NULL) {
 		/* we're coming from (e.g.) LDA */
@@ -788,18 +788,18 @@
 		/* print the config file path before parsing it, so in case
 		   of errors it's still shown */
 		printf("# "DOVECOT_VERSION_FULL": %s\n", config_path);
-		print_plugin_comment = TRUE;
+		print_plugin_banner = TRUE;
 		fflush(stdout);
 	}
 	master_service_init_finish(master_service);
 	config_parse_load_modules();
 
-	if (print_plugin_comment) {
+	if (print_plugin_banner) {
 		struct module *m;
 
 		for (m = modules; m != NULL; m = m->next) {
 			const char **str = module_get_symbol_quiet(m,
-				t_strdup_printf("%s_doveconf_comment", m->name));
+				t_strdup_printf("%s_doveconf_banner", m->name));
 			if (str != NULL)
 				printf("# %s\n", *str);
 		}


More information about the dovecot-cvs mailing list