You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2022/01/20 17:08:03 UTC

svn commit: r1897261 - /httpd/httpd/trunk/server/util_pcre.c

Author: ylavic
Date: Thu Jan 20 17:08:02 2022
New Revision: 1897261

URL: http://svn.apache.org/viewvc?rev=1897261&view=rev
Log:
ap_regex: Follow up to r1897240: no ap_thread_current() yet.

Modified:
    httpd/httpd/trunk/server/util_pcre.c

Modified: httpd/httpd/trunk/server/util_pcre.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_pcre.c?rev=1897261&r1=1897260&r2=1897261&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_pcre.c (original)
+++ httpd/httpd/trunk/server/util_pcre.c Thu Jan 20 17:08:02 2022
@@ -343,7 +343,7 @@ static match_data_pt get_match_data(apr_
      * 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);