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_protocol.c
Date Fri, 18 Aug 2000 18:48:12 GMT
trawick     00/08/18 11:48:11

  Modified:    src/main http_protocol.c
  Log:
  Fix type of bytes_sent parm passed to ap_bucket_mmap_create().
  
  Revision  Changes    Path
  1.112     +4 -4      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- http_protocol.c	2000/08/17 00:54:03	1.111
  +++ http_protocol.c	2000/08/18 18:48:11	1.112
  @@ -1913,7 +1913,7 @@
   }
   
   /* finalize_request_protocol is called at completion of sending the
  - * response.  It's sole purpose is to send the terminating protocol
  + * response.  Its sole purpose is to send the terminating protocol
    * information for any wrappers around the response message body
    * (i.e., transfer encodings).  It should have been named finalize_response.
    */
  @@ -1921,7 +1921,7 @@
   {
       /* tell the filter chain there is no more content coming */
       end_output_stream(r);
  -    }
  +}
   
   /* Here we deal with getting the request message body from the client.
    * Whether or not the request contains a body is signaled by the presence
  @@ -2513,7 +2513,7 @@
   API_EXPORT(size_t) ap_send_mmap(apr_mmap_t *mm, request_rec *r, size_t offset,
                                size_t length)
   {
  -    size_t bytes_sent = 0;
  +    apr_ssize_t bytes_sent = 0;
       ap_bucket_brigade *bb = NULL;
       
       /* WE probably need to do something to make sure we are respecting the
  @@ -2522,7 +2522,7 @@
        */
       bb = ap_brigade_create(r->pool);
       ap_brigade_append_buckets(bb, 
  -                            ap_bucket_mmap_create(mm, mm->size, &bytes_sent));
  +                              ap_bucket_mmap_create(mm, mm->size, &bytes_sent));
       bytes_sent = ap_pass_brigade(r->filters, bb);
   
       return bytes_sent;
  
  
  

Mime
View raw message