From: Timo Sirainen Date: Wed, 13 Apr 2016 10:47:51 +0000 (+0300) Subject: doveconf: Improved the warning message about global setting not overriding a filter X-Git-Tag: 2.3.0.rc1~4022 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb445bd4e32a2aae17a97a87bd74f57caec25449;p=thirdparty%2Fdovecot%2Fcore.git doveconf: Improved the warning message about global setting not overriding a filter --- diff --git a/src/config/config-parser.c b/src/config/config-parser.c index 169a3425cb..2a5009af7a 100644 --- a/src/config/config-parser.c +++ b/src/config/config-parser.c @@ -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)