Hi,

The attached patch fixes typos in the code comments of the cfgpase subsystem.

Thanks,
Joseph
From 574d9494e16129879aec7c38923a65749b115c7c Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
Date: Thu, 15 Nov 2018 14:04:19 -0800
Subject: [PATCH] CLEANUP: Fix typos in the cfgparse subsystem

Fix typos in the code comments of the cfgpase subsystem.
---
 src/cfgparse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cfgparse.c b/src/cfgparse.c
index cef5e397..ad57b86d 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -7122,7 +7122,7 @@ next_line:
 			line++;
 
 
-		if (*line == '[') {/* This is the begining if a scope */
+		if (*line == '[') {/* This is the beginning if a scope */
 			err_code |= cfg_parse_scope(file, linenum, line);
 			goto next_line;
 		}
@@ -8517,7 +8517,7 @@ out_uri_auth_compat:
 
 		}
 		/* We have to initialize the server lookup mechanism depending
-		 * on what LB algorithm was choosen.
+		 * on what LB algorithm was chosen.
 		 */
 
 		curproxy->lbprm.algo &= ~(BE_LB_LKUP | BE_LB_PROP_DYN);
-- 
2.19.1

Reply via email to