From: Yann Ylavic Date: Thu, 20 Jan 2022 17:08:02 +0000 (+0000) Subject: ap_regex: Follow up to r1897240: no ap_thread_current() yet. X-Git-Tag: 2.5.0-alpha2-ci-test-only~571 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d31bcd5995ade29261033b15976c06e9c466cb86;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/util_pcre.c b/server/util_pcre.c index ece8801d4b2..c440ccf8fcb 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);