From: Joseph Herlant Date: Thu, 15 Nov 2018 22:46:29 +0000 (-0800) Subject: CLEANUP: Fix typos in the regex subsystem X-Git-Tag: v1.9-dev7~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eda75484a8bd86596600283822e17ea5f005a047;p=thirdparty%2Fhaproxy.git CLEANUP: Fix typos in the regex subsystem Fix typos in the code comment of the regex subsystem. --- diff --git a/src/regex.c b/src/regex.c index 62c8e84df9..f3f74c3dce 100644 --- a/src/regex.c +++ b/src/regex.c @@ -193,7 +193,7 @@ int regex_exec_match(const struct my_regex *preg, const char *subject, * value from a successful match is 1, indicating that just the first pair of * offsets has been set. * - * It seems that this function returns 0 if it detect more matches than avalaible + * It seems that this function returns 0 if it detects more matches than available * space in the matches array. */ #ifdef USE_PCRE2 @@ -286,7 +286,7 @@ int regex_exec_match2(const struct my_regex *preg, char *subject, int length, * value from a successful match is 1, indicating that just the first pair of * offsets has been set. * - * It seems that this function returns 0 if it detect more matches than avalaible + * It seems that this function returns 0 if it detects more matches than available * space in the matches array. */ #ifdef USE_PCRE2