summaryrefslogtreecommitdiffstats
path: root/server/util_pcre.c
diff options
context:
space:
mode:
authorMike Rumph <mrumph@apache.org>2020-02-13 19:15:57 +0100
committerMike Rumph <mrumph@apache.org>2020-02-13 19:15:57 +0100
commit85760859cac5870ffae86c5c02cfde6db696b140 (patch)
treecde5286acd23f1a007bdc03a37629f4196d6e8d1 /server/util_pcre.c
parentdon't use DOTALL from mod_substitute which leaves \n at the end of the line. (diff)
downloadapache2-85760859cac5870ffae86c5c02cfde6db696b140.tar.xz
apache2-85760859cac5870ffae86c5c02cfde6db696b140.zip
Fix spelling errors found by codespell. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873985 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r--server/util_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/util_pcre.c b/server/util_pcre.c
index 94e85e44a0..3fb3b3ba17 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -302,7 +302,7 @@ AP_DECLARE(int) ap_regexec_len(const ap_regex_t *preg, const char *buff,
#ifdef HAVE_PCRE2
/* TODO: create a generic TLS matchdata buffer of some nmatch limit,
- * e.g. 10 matches, to avoid a malloc-per-call. If it must be alloced,
+ * e.g. 10 matches, to avoid a malloc-per-call. If it must be allocated,
* implement a general context using palloc and no free implementation.
*/
nlim = ((apr_size_t)preg->re_nsub + 1) > nmatch