]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ap_regex: Follow up to r1897240: no ap_thread_current() yet.
authorYann Ylavic <ylavic@apache.org>
Thu, 20 Jan 2022 17:08:02 +0000 (17:08 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 20 Jan 2022 17:08:02 +0000 (17:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897261 13f79535-47bb-0310-9956-ffa450edef68

server/util_pcre.c

index ece8801d4b2acb858f7583689ee5dea46912faeb..c440ccf8fcb0caeed195f4da0f620252ebfe7598 100644 (file)
@@ -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);