httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/win32 mod_isapi.c
Date Wed, 29 Nov 2000 18:50:20 GMT
wrowe       00/11/29 10:50:13

  Modified:    src/os/win32 mod_isapi.c
  Log:
    Fix uninitialized badness
  
  Revision  Changes    Path
  1.31      +1 -1      apache-2.0/src/os/win32/mod_isapi.c
  
  Index: mod_isapi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/mod_isapi.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- mod_isapi.c	2000/11/23 13:03:35	1.30
  +++ mod_isapi.c	2000/11/29 18:50:12	1.31
  @@ -595,7 +595,7 @@
           int nelts = 2 * apr_table_elts(r->headers_in)->nelts;
           int i;
   
  -        for (i = 0; i < nelts; i += 2)
  +        for (len = 0, i = 0; i < nelts; i += 2)
               len += strlen(raw[i]) + strlen(raw[i + 1]) + 2;
     
           if (*lpdwSizeofBuffer < len + 1) {
  
  
  

Mime
View raw message