]> granicus.if.org Git - apache/commitdiff
add AP_ prefix to recently added DEFAULT_MAX_RANGES
authorEric Covener <covener@apache.org>
Wed, 7 Sep 2011 19:51:01 +0000 (19:51 +0000)
committerEric Covener <covener@apache.org>
Wed, 7 Sep 2011 19:51:01 +0000 (19:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1166349 13f79535-47bb-0310-9956-ffa450edef68

modules/http/byterange_filter.c

index 350017b0bda39277c19feaf20ae069b52cc3d20e..2c52c77ee390ced4eb3f5da5a973fe04f1945e11 100644 (file)
@@ -59,8 +59,8 @@
 #include <unistd.h>
 #endif
 
-#ifndef DEFAULT_MAX_RANGES
-#define DEFAULT_MAX_RANGES 200
+#ifndef AP_DEFAULT_MAX_RANGES
+#define AP_DEFAULT_MAX_RANGES 200
 #endif
 
 APLOG_USE_MODULE(http);
@@ -197,7 +197,7 @@ static int get_max_ranges(request_rec *r) {
     }
 
     /* Any other negative val means the default */
-    return DEFAULT_MAX_RANGES;
+    return AP_DEFAULT_MAX_RANGES;
 }
 
 static apr_status_t send_416(ap_filter_t *f, apr_bucket_brigade *tmpbb)