From: Willy Tarreau Date: Fri, 6 Mar 2009 07:05:40 +0000 (+0100) Subject: [BUG] typo in timeout error reporting : report *res and not *err X-Git-Tag: v1.3.14.12~1 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=3b20461ecaf847248d8e1ca6601f314239426f76;p=haproxy.git [BUG] typo in timeout error reporting : report *res and not *err (cherry picked from commit bb9251ed8fc4e79c40f5b4459d20cecb4428fb1c) (cherry picked from commit 5c91210297ec91d805211595d40bab0188b62902) --- diff --git a/src/proxy.c b/src/proxy.c index 621992062..078c76cf8 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -141,7 +141,7 @@ int proxy_parse_timeout(const char **args, 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; }