]> granicus.if.org Git - apache/commitdiff
catch up with the apr_atoll -> apr_atoi64 rename
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 3 Aug 2002 19:36:33 +0000 (19:36 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 3 Aug 2002 19:36:33 +0000 (19:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96299 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/mod_dav.c
modules/experimental/mod_cache.c
modules/http/http_protocol.c
modules/mappers/mod_negotiation.c

index 7ec2b0bde3bd64d758a5651ba968d48309bb56ad..c5dd5566b4530c1425da1bf7e8dc59c5f7000760 100644 (file)
@@ -761,11 +761,11 @@ static int dav_parse_range(request_rec *r,
 
     *dash = *slash = '\0';
 
-    *range_start = apr_atoll(range + 6);
-    *range_end = apr_atoll(dash + 1);
+    *range_start = apr_atoi64(range + 6);
+    *range_end = apr_atoi64(dash + 1);
 
     if (*range_end < *range_start
-        || (slash[1] != '*' && apr_atoll(slash + 1) <= *range_end)) {
+        || (slash[1] != '*' && apr_atoi64(slash + 1) <= *range_end)) {
         /* invalid range. ignore it (per S14.16 of RFC2616) */
         return 0;
     }
@@ -2318,7 +2318,7 @@ static int process_mkcol_body(request_rec *r)
             return HTTP_BAD_REQUEST;
         }
 
-        r->remaining = apr_atoll(lenp);
+        r->remaining = apr_atoi64(lenp);
     }
 
     if (r->read_chunked || r->remaining > 0) {
index ced7cf3290019f0016df9f177f5620831ebc417f..26b4fab7a2f0270a9f9a6004cf3be83e90a55ea7 100644 (file)
@@ -577,7 +577,7 @@ static int cache_in_filter(ap_filter_t *f, apr_bucket_brigade *in)
         const char* cl;
         cl = apr_table_get(r->headers_out, "Content-Length");
         if (cl) {
-            size = apr_atoll(cl);
+            size = apr_atoi64(cl);
         }
         else {
 
index 92b3db42e7eecf765ebf8a72445ce0a61f9913ce..20ad5f2c00e394631b5f9e8484ede65246dfb944 100644 (file)
@@ -2719,15 +2719,15 @@ static int parse_byterange(char *range, apr_off_t clength,
 
     if ((dash == range)) {
         /* In the form "-5" */
-        *start = clength - apr_atoll(dash + 1);
+        *start = clength - apr_atoi64(dash + 1);
         *end = clength - 1;
     }
     else {
         *dash = '\0';
         dash++;
-        *start = apr_atoll(range);
+        *start = apr_atoi64(range);
         if (*dash) {
-            *end = apr_atoll(dash);
+            *end = apr_atoi64(dash);
         }
         else {                  /* "5-" */
             *end = clength - 1;
index efc9b94b64c2b3ac08822697de4b5f4207368a22..61b30e51a11083467545ea94ecdff713c101f597 100644 (file)
@@ -948,7 +948,7 @@ static int read_type_map(apr_file_t **map, negotiation_state *neg, request_rec *
                 has_content = 1;
             }
             else if (!strncmp(buffer, "content-length:", 15)) {
-                mime_info.bytes = apr_atoll((char *)body);
+                mime_info.bytes = apr_atoi64((char *)body);
                 has_content = 1;
             }
             else if (!strncmp(buffer, "content-language:", 17)) {