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 Sun, 24 Sep 2000 13:04:32 GMT
trawick     00/09/24 06:04:32

  Modified:    src/main http_core.c
  Log:
  Clean up a few warnings in core_filter().
  
  Revision  Changes    Path
  1.132     +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.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- http_core.c	2000/09/23 22:09:30	1.131
  +++ http_core.c	2000/09/24 13:04:31	1.132
  @@ -3118,7 +3118,7 @@
       request_rec *r = f->r;
       apr_pool_t *p = r->pool;
       apr_status_t rv;
  -    apr_ssize_t bytes_sent = 0, len = 0, written;
  +    apr_ssize_t bytes_sent = 0, len = 0;
       ap_bucket *e;
   
       
  @@ -3180,8 +3180,8 @@
               break;
           default: 
           {
  -            char *str;
  -            apr_size_t n;
  +            const char *str;
  +            apr_ssize_t n;
               rv = e->read(e, &str, &n, 0);
               if (n) {
                   len += n;
  @@ -3198,7 +3198,7 @@
                       }
                       iov = (struct iovec *) apr_push_array(vec_trailers);
                   }
  -                iov->iov_base = str;
  +                iov->iov_base = (char *)str;
                   iov->iov_len = n;
               }
               break;
  
  
  

Mime
View raw message