]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: Fix typo in error message in the standard subsystem
authorJoseph Herlant <aerostitch@debian.org>
Thu, 15 Nov 2018 20:01:22 +0000 (12:01 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:26:42 +0000 (22:26 +0100)
Fix a typo in an error message that could be user-visible when running
out of memory in the parse_binary function.

src/standard.c

index 38e0b6fda4d26b24240e5f3d258a0e7401e2c34d..a33ad9bd6f57d593f6daaf1d2a56d718db71c229 100644 (file)
@@ -2186,7 +2186,7 @@ int parse_binary(const char *source, char **binstr, int *binstrlen, char **err)
        }
        else {
                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);
                        return 0;
                }