]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix compiler warning in maintainer-mode
authorStefan Fritsch <sf@apache.org>
Mon, 18 Oct 2010 21:28:59 +0000 (21:28 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 18 Oct 2010 21:28:59 +0000 (21:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1024011 13f79535-47bb-0310-9956-ffa450edef68

server/util_expr.c

index f15f4df08379c876dea2009fbc91bc2dbc40bcbf..d6f81944d4ccb740130bf45fd92cfc217ee5e988 100644 (file)
@@ -839,7 +839,7 @@ static int expr_eval(request_rec *r, ap_parse_node_t *root,
 
             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/
              */