]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typos in the cfgparse subsystem
authorJoseph Herlant <aerostitch@debian.org>
Thu, 15 Nov 2018 22:04:19 +0000 (14:04 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:26:42 +0000 (22:26 +0100)
Fix typos in the code comments of the cfgpase subsystem.

src/cfgparse.c

index ab330a901127e91764d650ef73d07af2d476a29d..c9d69bc924b88b405782bf3b790fe4aa91769502 100644 (file)
@@ -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);