From: Ruediger Pluem Date: Sat, 8 Dec 2007 19:28:12 +0000 (+0000) Subject: * s/MAX_BUCKETS/AP_MAX_BUCKETS/ to avoid namespace conflicts as pointed out X-Git-Tag: 2.3.0~1165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b9f7bf7bade701173adfc6f14158b2a035ca4f;p=thirdparty%2Fapache%2Fhttpd.git * s/MAX_BUCKETS/AP_MAX_BUCKETS/ to avoid namespace conflicts as pointed out by jim. No functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@602533 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_substitute.c b/modules/filters/mod_substitute.c index 4015b44d302..592d1404911 100644 --- a/modules/filters/mod_substitute.c +++ b/modules/filters/mod_substitute.c @@ -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);