httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1166349 - /httpd/httpd/trunk/modules/http/byterange_filter.c
Date Wed, 07 Sep 2011 19:51:01 GMT
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)



Mime
View raw message