]> granicus.if.org Git - apache/commitdiff
That's it. Adjust for our pcre transition, and the whole thing links
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 19 Jul 2001 22:35:32 +0000 (22:35 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 19 Jul 2001 22:35:32 +0000 (22:35 +0000)
  once again.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89631 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_expr_eval.c

index 30abe668c9d473f84aef7c74ba6d3ecb7e63228c..5df703a3d61a73341708ffa29203a3780a870c16 100644 (file)
@@ -165,7 +165,7 @@ static BOOL ssl_expr_eval_comp(request_rec *r, ssl_expr *node)
             e2 = (ssl_expr *)node->node_arg2;
             word = ssl_expr_eval_word(r, e1);
             regex = (regex_t *)(e2->node_arg1);
-            return (regexec(regex, word, 0, NULL, 0) == 0);
+            return (ap_regexec(regex, word, 0, NULL, 0) == 0);
         }
         case op_NRE: {
             ssl_expr *e1;
@@ -177,7 +177,7 @@ static BOOL ssl_expr_eval_comp(request_rec *r, ssl_expr *node)
             e2 = (ssl_expr *)node->node_arg2;
             word = ssl_expr_eval_word(r, e1);
             regex = (regex_t *)(e2->node_arg1);
-            return !(regexec(regex, word, 0, NULL, 0) == 0);
+            return !(ap_regexec(regex, word, 0, NULL, 0) == 0);
         }
         default: {
             ssl_expr_error = "Internal evaluation error: Unknown expression node";