httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/server util_filter.c
Date Fri, 28 Dec 2001 05:46:21 GMT
jerenkrantz    01/12/27 21:46:21

  Modified:    server   util_filter.c
  Log:
  Fix a shadow variable.  (c is also declared to be the connection.)
  
  Revision  Changes    Path
  1.73      +3 -3      httpd-2.0/server/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_filter.c,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- util_filter.c	2001/12/13 16:39:08	1.72
  +++ util_filter.c	2001/12/28 05:46:21	1.73
  @@ -251,12 +251,12 @@
               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 {
  
  
  

Mime
View raw message