]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: Fix typos in error messages in the proxy subsystem
authorJoseph Herlant <aerostitch@debian.org>
Thu, 15 Nov 2018 19:50:44 +0000 (11:50 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:23:15 +0000 (22:23 +0100)
Fix typos in error messages that will be user-visible in the proxy
subsystem.

src/proxy.c

index c21ff9d129dc6e3ab3b521b03de60484af7696bb..6102f981a9de1c5bb9cdb28d7fda1de46cae6050 100644 (file)
@@ -358,13 +358,13 @@ static int proxy_parse_declare(char **args, int section, struct proxy *curpx,
 {
        /* Capture keyword wannot be declared in a default proxy. */
        if (curpx == defpx) {
-               memprintf(err, "'%s' not avalaible in default section", args[0]);
+               memprintf(err, "'%s' not available in default section", args[0]);
                return -1;
        }
 
        /* Capture keywork is only available in frontend. */
        if (!(curpx->cap & PR_CAP_FE)) {
-               memprintf(err, "'%s' only avalaible in frontend or listen section", args[0]);
+               memprintf(err, "'%s' only available in frontend or listen section", args[0]);
                return -1;
        }