You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2011/09/07 21:51:01 UTC

svn commit: r1166349 - /httpd/httpd/trunk/modules/http/byterange_filter.c

Author: covener
Date: Wed Sep  7 19:51:01 2011
New Revision: 1166349

URL: http://svn.apache.org/viewvc?rev=1166349&view=rev
Log:
add AP_ prefix to recently added DEFAULT_MAX_RANGES

Modified:
    httpd/httpd/trunk/modules/http/byterange_filter.c

Modified: httpd/httpd/trunk/modules/http/byterange_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/byterange_filter.c?rev=1166349&r1=1166348&r2=1166349&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/byterange_filter.c (original)
+++ httpd/httpd/trunk/modules/http/byterange_filter.c Wed Sep  7 19:51:01 2011
@@ -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)