]> granicus.if.org Git - apache/commitdiff
Fix a shadow variable. (c is also declared to be the connection.)
authorJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 28 Dec 2001 05:46:21 +0000 (05:46 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Fri, 28 Dec 2001 05:46:21 +0000 (05:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92635 13f79535-47bb-0310-9956-ffa450edef68

server/util_filter.c

index 904bb8df0df9f5de54b73fa02136656468124f4a..466166ba73f87fa25c4862b13df11d35a1405785 100644 (file)
@@ -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 {