httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1024011 - /httpd/httpd/trunk/server/util_expr.c
Date Mon, 18 Oct 2010 21:28:59 GMT
Author: sf
Date: Mon Oct 18 21:28:59 2010
New Revision: 1024011

URL: http://svn.apache.org/viewvc?rev=1024011&view=rev
Log:
Fix compiler warning in maintainer-mode

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

Modified: httpd/httpd/trunk/server/util_expr.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_expr.c?rev=1024011&r1=1024010&r2=1024011&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_expr.c (original)
+++ httpd/httpd/trunk/server/util_expr.c Mon Oct 18 21:28:59 2010
@@ -839,7 +839,7 @@ static int expr_eval(request_rec *r, ap_
 
             lval = PARSE_STRING(r, current->left->token.value);
             rval = PARSE_STRING(r, current->right->token.value);
-            val = strstr(rval, lval);
+            val = ap_strstr_c(rval, lval);
             /* should be included as a complete word, not a subword
              * as in regexp /\bLVAL\b/
              */



Mime
View raw message