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

src/acl.c

index afb48ad710c7fb67bf6aa05bec3fb3fd525484af..a9cf7a15e83970ac6b0bc5e8aa468a862b9aa5cf 100644 (file)
--- a/src/acl.c
+++ b/src/acl.c
@@ -188,7 +188,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
                smp->fetch = aclkw->smp;
                smp->arg_p = empty_arg_list;
 
-               /* look for the begining of the subject arguments */
+               /* look for the beginning of the subject arguments */
                for (arg = args[0]; *arg && *arg != '(' && *arg != ','; arg++);
 
                endt = arg;
@@ -230,7 +230,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
                }
                arg = endt;
 
-               /* look for the begining of the converters list. Those directly attached
+               /* look for the beginning of the converters list. Those directly attached
                 * to the ACL keyword are found just after <arg> which points to the comma.
                 * If we find any converter, then we don't use the ACL keyword's match
                 * anymore but the one related to the converter's output type.