httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Sun, 15 Oct 2000 22:43:01 GMT
dreid       00/10/15 15:43:01

  Modified:    src/main http_core.c
  Log:
  Tidy up some types.
  
  Revision  Changes    Path
  1.170     +2 -3      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.169
  retrieving revision 1.170
  diff -u -r1.169 -r1.170
  --- http_core.c	2000/10/15 18:15:11	1.169
  +++ http_core.c	2000/10/15 22:42:59	1.170
  @@ -2613,8 +2613,8 @@
   {
       apr_status_t rv = APR_SUCCESS;
       apr_int32_t togo;         /* Remaining number of bytes in the file to send */
  -    apr_int32_t sendlen;
  -    apr_int32_t bytes_sent;
  +    apr_size_t sendlen = 0;
  +    apr_size_t bytes_sent;
       apr_int32_t i;
       apr_off_t o;              /* Track the file offset for partial writes */
       char buffer[8192];
  @@ -2626,7 +2626,6 @@
        * XXX: optimization... if headers are less than MIN_WRITE_SIZE, copy 
        * them into buffer
        */
  -    sendlen = 0;
       if ( hdtr && hdtr->numheaders > 0 ) {
           for (i = 0; i < hdtr->numheaders; i++) {
               sendlen += hdtr->headers[i].iov_len;
  
  
  

Mime
View raw message