Hi,

This patch fixes typos in error messages that will be user-visible in
the proxy subsystem.

Thanks,
Joseph
From cd2c9397006e6ecb80d71916213cac9ab680868b Mon Sep 17 00:00:00 2001
From: Joseph Herlant <[email protected]>
Date: Thu, 15 Nov 2018 11:50:44 -0800
Subject: [PATCH] MINOR: Fix typos in error messages in the proxy subsystem

Fix typos in error messages that will be user-visible in the proxy
subsystem.
---
 src/proxy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/proxy.c b/src/proxy.c
index d798fb0e..1fa34c76 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -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;
 	}
 
-- 
2.19.1

Reply via email to