]> granicus.if.org Git - apache/commitdiff
Something that needs looking at, all our long (unsigned long) body
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 26 Jul 2001 17:12:29 +0000 (17:12 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 26 Jul 2001 17:12:29 +0000 (17:12 +0000)
  lengths need to become apr_off_t.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89732 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index e1715ffa50234d192e39208871b006fc64acb01e..51e4458bebefa406d5661e821278ad8187ca52d6 100644 (file)
@@ -1294,7 +1294,7 @@ AP_DECLARE(int) ap_setup_client_block(request_rec *r, int read_policy)
 {
     const char *tenc = apr_table_get(r->headers_in, "Transfer-Encoding");
     const char *lenp = apr_table_get(r->headers_in, "Content-Length");
-    long max_body;
+    apr_off_t max_body;
 
     r->read_body = read_policy;
     r->read_chunked = 0;
@@ -2490,7 +2490,7 @@ static int ap_set_byterange(request_rec *r)
         int rv;
         /* A single range */
 
-        /* rvarse_byterange() modifies the contents, so make a copy */
+        /* parse_byterange() modifies the contents, so make a copy */
         if ((rv = parse_byterange(apr_pstrdup(r->pool, range + 6), r->clength,
                              &range_start, &range_end)) <= 0) {
             return rv;