summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2022-01-20 17:08:02 +0000
committerYann Ylavic <ylavic@apache.org>2022-01-20 17:08:02 +0000
commitd31bcd5995ade29261033b15976c06e9c466cb86 (patch)
tree1d55cb4f71e7b461f7c13da0203e87aff2275eeb /server
parent9cda8538a6655621ed7d9112bc1af488dd1d8205 (diff)
downloadhttpd-d31bcd5995ade29261033b15976c06e9c466cb86.tar.gz
ap_regex: Follow up to r1897240: no ap_thread_current() yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897261 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-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 ece8801d4b..c440ccf8fc 100644
--- a/server/util_pcre.c
+++ b/server/util_pcre.c
@@ -343,7 +343,7 @@ static match_data_pt get_match_data(apr_size_t size,
* called by non a apr_thread_t thread, let's fall back to alloc/free
* in this case.
*/
- current = ap_thread_current();
+ current = apr_thread_current();
if (!current) {
*to_free = 1;
return alloc_match_data(size, ovector, small_vector);