From bb9251ed8fc4e79c40f5b4459d20cecb4428fb1c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 6 Mar 2009 08:05:40 +0100 Subject: [PATCH] [BUG] typo in timeout error reporting : report *res and not *err --- src/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.c b/src/proxy.c index 3e6854ddc2..28bcfa01f1 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -150,7 +150,7 @@ static int proxy_parse_timeout(char **args, int section, struct proxy *proxy, res = parse_time_err(args[1], &timeout, TIME_UNIT_MS); if (res) { - snprintf(err, errlen, "unexpected character '%c' in %s timeout", *err, name); + snprintf(err, errlen, "unexpected character '%c' in %s timeout", *res, name); return -1; } -- 2.47.3