]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: Changed _doveconf_comment symbol suffix to _doveconf_banner
authorTimo Sirainen <tss@iki.fi>
Thu, 16 Oct 2014 14:25:17 +0000 (07:25 -0700)
committerTimo Sirainen <tss@iki.fi>
Thu, 16 Oct 2014 14:25:17 +0000 (07:25 -0700)
That describes its behavior better.

src/config/doveconf.c

index 7f16eec9b128dd5dab346c263b8b4f15113b00b2..2f34c6b4f4aaa4919774670819f89ea88b19a437 100644 (file)
@@ -707,7 +707,7 @@ int main(int argc, char *argv[])
        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 @@ int main(int argc, char *argv[])
                /* 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);
                }