]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: Improved the warning message about global setting not overriding a filter
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 13 Apr 2016 10:47:51 +0000 (13:47 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 13 Apr 2016 10:47:51 +0000 (13:47 +0300)
src/config/config-parser.c

index 169a3425cb69470a31f610fc53a94cdf79394000..2a5009af7a83fd836fbbcd4955e66b19e8c75e61 100644 (file)
@@ -849,9 +849,10 @@ config_parser_check_warnings(struct config_parser_context *ctx, const char *key)
                   filters, log a warning. */
                if (first_pos == NULL)
                        return;
-               i_warning("%s line %u: Global setting %s won't change the setting inside an earlier filter at %s",
+               i_warning("%s line %u: Global setting %s won't change the setting inside an earlier filter at %s "
+                         "(if this is intentional, avoid this warning by moving the global setting before %s)",
                          ctx->cur_input->path, ctx->cur_input->linenum,
-                         key, first_pos);
+                         key, first_pos, first_pos);
                return;
        }
        if (first_pos != NULL)