mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 06:40:59 +01:00
MINOR: Fix typo in error message in the standard subsystem
Fix a typo in an error message that could be user-visible when running out of memory in the parse_binary function.
This commit is contained in:
parent
cf92b6d332
commit
76dbe785b5
@ -2186,7 +2186,7 @@ int parse_binary(const char *source, char **binstr, int *binstrlen, char **err)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (*binstrlen < len) {
|
if (*binstrlen < len) {
|
||||||
memprintf(err, "no space avalaible in the buffer. expect %d, provides %d",
|
memprintf(err, "no space available in the buffer. expect %d, provides %d",
|
||||||
len, *binstrlen);
|
len, *binstrlen);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user