From: Justin Erenkrantz Date: Fri, 28 Dec 2001 05:46:21 +0000 (+0000) Subject: Fix a shadow variable. (c is also declared to be the connection.) X-Git-Tag: 2.0.30~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b228a3b8004e423d90047eee6041d866c7f245f2;p=apache Fix a shadow variable. (c is also declared to be the connection.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92635 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util_filter.c b/server/util_filter.c index 904bb8df0d..466166ba73 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -251,12 +251,12 @@ static ap_filter_t *add_any_filter(const char *name, void *ctx, end = node->nchildren - 1; while (end >= start) { int middle = (end + start) / 2; - char c = node->children[middle].c; - if (*n == c) { + char ch = node->children[middle].c; + if (*n == ch) { node = node->children[middle].child; break; } - else if (*n < c) { + else if (*n < ch) { end = middle - 1; } else {