www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bar...@veribox.net
Subject [PATCH] ap_get_brigade function prototype change.
Date Tue, 07 Aug 2001 23:00:31 GMT
these weren't causing a bus error but might as well patch them
too so the compiler won't emit warnings.

barbee.

Index: proxy_ftp.c
===================================================================
RCS file: /home/cvspublic/httpd-proxy/module-2.0/proxy_ftp.c,v
retrieving revision 1.77
diff -u -a -r1.77 proxy_ftp.c
--- proxy_ftp.c 2001/08/03 18:00:38     1.77
+++ proxy_ftp.c 2001/08/07 21:10:03
@@ -555,7 +555,7 @@
     int i = 0, j, len, rc;
     int one = 1;
     char *size = NULL;
-    apr_size_t readbytes = -1;
+    apr_off_t readbytes = -1;

     /* stuff for PASV mode */
     int connect = 0, use_port = 0;
Index: proxy_http.c
===================================================================
RCS file: /home/cvspublic/httpd-proxy/module-2.0/proxy_http.c,v
retrieving revision 1.84
diff -u -a -r1.84 proxy_http.c
--- proxy_http.c        2001/08/03 18:00:38     1.84
+++ proxy_http.c        2001/08/07 21:10:03
@@ -752,7 +752,7 @@
         (r->status != HTTP_NOT_MODIFIED)) {    /* not 304 */

        const char *buf;
-       apr_size_t readbytes;
+       apr_off_t readbytes;

        /* if chunked - insert DECHUNK filter */
        if (ap_proxy_liststr((buf = apr_table_get(r->headers_out,
"Transfer-Enco
ding")), "chunked")) {

Mime
View raw message