From: Stefan Fritsch Date: Mon, 18 Oct 2010 21:28:59 +0000 (+0000) Subject: Fix compiler warning in maintainer-mode X-Git-Tag: 2.3.9~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9bf53004cc833908cb4f1ad0e165d50e380bc9;p=thirdparty%2Fapache%2Fhttpd.git Fix compiler warning in maintainer-mode git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1024011 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_expr.c b/server/util_expr.c index f15f4df0837..d6f81944d4c 100644 --- a/server/util_expr.c +++ b/server/util_expr.c @@ -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/ */