summaryrefslogtreecommitdiffstats
path: root/src/tcpcheck.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:06:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-11 17:06:51 +0000
commitc6b0a8942f792c9fae204eee8ac60042573a8726 (patch)
tree2a430cbf23b4a8c1c3dfdfa3edf95c8692a5bcea /src/tcpcheck.c
parentAdding debian version 3.0.0-1. (diff)
downloadhaproxy-c6b0a8942f792c9fae204eee8ac60042573a8726.tar.xz
haproxy-c6b0a8942f792c9fae204eee8ac60042573a8726.zip
Merging upstream version 3.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/tcpcheck.c')
-rw-r--r--src/tcpcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpcheck.c b/src/tcpcheck.c
index b4f9590..e820fdc 100644
--- a/src/tcpcheck.c
+++ b/src/tcpcheck.c
@@ -3434,7 +3434,7 @@ struct tcpcheck_rule *parse_tcpcheck_expect(char **args, int cur_arg, struct pro
px->conf.args.ctx = ARGC_SRV;
lf_expr_init(&chk->expect.hdr.value_fmt);
if (!parse_logformat_string(vpat, px, &chk->expect.hdr.value_fmt, 0, SMP_VAL_BE_CHK_RUL, errmsg)) {
- memprintf(errmsg, "'%s' invalid log-format string (%s).\n", npat, *errmsg);
+ memprintf(errmsg, "'%s' invalid log-format string (%s).\n", vpat, *errmsg);
goto error;
}
}