mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-23 18:00:43 -05:00
[BUG] typo in timeout error reporting : report *res and not *err
This commit is contained in:
parent
604e83097f
commit
bb9251ed8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue