]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: http-act: fix a typo in the "pause" action error message
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2026 14:24:43 +0000 (16:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2026 14:25:49 +0000 (16:25 +0200)
It was saying "mause" instead of "pause" :-)
This should be backported to 3.2.

src/http_act.c

index 6a88e20c4b224bfb75dcc4429729781c6ca6a00a..57e390b3fb8e5570df8ea5e4f7b193c731904e5e 100644 (file)
@@ -2128,7 +2128,7 @@ static enum act_parse_ret parse_http_pause(const char **args, int *orig_arg, str
                 rule->arg.timeout.expr = sample_parse_expr((char **)args, &cur_arg, px->conf.args.file,
                                                            px->conf.args.line, err, &px->conf.args, NULL);
                 if (!rule->arg.timeout.expr) {
-                        memprintf(err, "unexpected character '%c' in rule 'mause'", *res);
+                        memprintf(err, "unexpected character '%c' in rule 'pause'", *res);
                         return ACT_RET_PRS_ERR;
                 }
         }