commit | bb9251ed8fc4e79c40f5b4459d20cecb4428fb1c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 06 08:05:40 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 06 08:05:40 2009 +0100 |
tree | cba6640a38bc204e22dfa3118760546ea5e5bb3b | |
parent | 604e83097f77b911cc4af16ecdfe5be8d825c19d [diff] |
[BUG] typo in timeout error reporting : report *res and not *err
diff --git a/src/proxy.c b/src/proxy.c index 3e6854d..28bcfa0 100644 --- a/src/proxy.c +++ b/src/proxy.c
@@ -150,7 +150,7 @@ 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; }