From: Christopher Faulet Date: Thu, 6 Feb 2025 16:03:35 +0000 (+0100) Subject: MINOR: filters: Improve errors formating during filters parsing X-Git-Tag: v3.2-dev5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc487afc85fc9c28c14467d9fb5296ad277471c0;p=thirdparty%2Fhaproxy.git MINOR: filters: Improve errors formating during filters parsing The error message reported by a filter during parsing are displayed between quotes. It is not really user friendly. So let's remove the quotes here. --- diff --git a/src/filters.c b/src/filters.c index 97f01fcf1..792d6f3ee 100644 --- a/src/filters.c +++ b/src/filters.c @@ -241,7 +241,7 @@ parse_filter(char **args, int section_type, struct proxy *curpx, } if (kw->parse(args, &cur_arg, curpx, fconf, err, kw->private) != 0) { if (err && *err) - memprintf(err, "'%s' : '%s'", + memprintf(err, "'%s' : %s", args[0], *err); else memprintf(err, "'%s' : error encountered while processing '%s'",