]> granicus.if.org Git - apache/commitdiff
* s/MAX_BUCKETS/AP_MAX_BUCKETS/ to avoid namespace conflicts as pointed out
authorRuediger Pluem <rpluem@apache.org>
Sat, 8 Dec 2007 19:28:12 +0000 (19:28 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 8 Dec 2007 19:28:12 +0000 (19:28 +0000)
  by jim. No functional change.

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

modules/filters/mod_substitute.c

index 4015b44d30259a743c96dc5e4f437d0130509831..592d14049118a2eacc9e685725ef1c33a6b7d584 100644 (file)
@@ -77,7 +77,7 @@ static void *merge_substitute_dcfg(apr_pool_t *p, void *basev, void *overv)
     return a;
 }
 
-#define MAX_BUCKETS 1000
+#define AP_MAX_BUCKETS 1000
 
 #define SEDSCAT(s1, s2, pool, buff, blen, repl) do { \
     if (!s1) {                                       \
@@ -427,7 +427,7 @@ static apr_status_t substitute_filter(ap_filter_t *f, apr_bucket_brigade *bb)
                          * Usually this condition should not become true, but
                          * it is a safety measure for edge cases.
                          */
-                        if (num > MAX_BUCKETS) {
+                        if (num > AP_MAX_BUCKETS) {
                             b = apr_bucket_flush_create(
                                                 f->r->connection->bucket_alloc);
                             APR_BRIGADE_INSERT_TAIL(ctx->passbb, b);