httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Thu, 26 Oct 2000 12:03:12 GMT
trawick     00/10/26 05:03:12

  Modified:    src/main http_core.c
  Log:
  Clean up a few incompatible pointer types (int * vs. unsigned int *).
  Submitted by:	Cliff Woolley <cliffwoolley@yahoo.com>
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.190     +4 -4      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.189
  retrieving revision 1.190
  diff -u -r1.189 -r1.190
  --- http_core.c	2000/10/26 10:48:27	1.189
  +++ http_core.c	2000/10/26 12:03:07	1.190
  @@ -2564,7 +2564,7 @@
   #endif
   
   static apr_status_t writev_it_all(apr_socket_t *s, struct iovec *vec, int nvec, 
  -                                  apr_size_t len, apr_size_t *nbytes)
  +                                  apr_ssize_t len, apr_ssize_t *nbytes)
   {
       apr_size_t bytes_written = 0;
       apr_status_t rv;
  @@ -2610,12 +2610,12 @@
    */
   static apr_status_t send_the_file(conn_rec *c, apr_file_t *fd, 
                                     apr_hdtr_t *hdtr, apr_off_t offset, 
  -                                  apr_size_t length, apr_size_t *nbytes) 
  +                                  apr_ssize_t length, apr_ssize_t *nbytes) 
   {
       apr_status_t rv = APR_SUCCESS;
       apr_int32_t togo;         /* Remaining number of bytes in the file to send */
  -    apr_size_t sendlen = 0;
  -    apr_size_t bytes_sent;
  +    apr_ssize_t sendlen = 0;
  +    apr_ssize_t bytes_sent;
       apr_int32_t i;
       apr_off_t o;              /* Track the file offset for partial writes */
       char buffer[8192];
  
  
  

Mime
View raw message