From bc487afc85fc9c28c14467d9fb5296ad277471c0 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 6 Feb 2025 17:03:35 +0100 Subject: [PATCH] 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. --- src/filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'",