mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-27 08:01:15 +00:00
[BUG] typo in timeout error reporting : report *res and not *err
This commit is contained in:
parent
604e83097f
commit
bb9251ed8f
@ -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);
|
res = parse_time_err(args[1], &timeout, TIME_UNIT_MS);
|
||||||
if (res) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user