From: William A. Rowe Jr Date: Thu, 19 Jul 2001 22:35:32 +0000 (+0000) Subject: That's it. Adjust for our pcre transition, and the whole thing links X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9266d5c58dda696d1a4fe90f5832a07029818496;p=thirdparty%2Fapache%2Fhttpd.git That's it. Adjust for our pcre transition, and the whole thing links once again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@89631 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_expr_eval.c b/ssl_expr_eval.c index 30abe668c9d..5df703a3d61 100644 --- a/ssl_expr_eval.c +++ b/ssl_expr_eval.c @@ -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";