From: Paul Querna Date: Sun, 21 Nov 2004 05:53:38 +0000 (+0000) Subject: Compile Fix for Netware Port with CodeWarrior. X-Git-Tag: 2.1.2~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95d5391b9fab16dac27b81064c70d767b180c40a;p=apache Compile Fix for Netware Port with CodeWarrior. Noticed By: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106072 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 5e21ccab61..1f03a52998 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -192,11 +192,13 @@ AP_DECLARE(void) ap_die(int type, request_rec *r) static void check_pipeline_flush(request_rec *r) { + apr_bucket *e; + apr_bucket_brigade *bb; conn_rec *c = r->connection; /* ### if would be nice if we could PEEK without a brigade. that would ### allow us to defer creation of the brigade to when we actually ### need to send a FLUSH. */ - apr_bucket_brigade *bb = apr_brigade_create(r->pool, c->bucket_alloc); + bb = apr_brigade_create(r->pool, c->bucket_alloc); /* Flush the filter contents if: * @@ -216,7 +218,7 @@ static void check_pipeline_flush(request_rec *r) } } - apr_bucket *e = apr_bucket_flush_create(c->bucket_alloc); + e = apr_bucket_flush_create(c->bucket_alloc); /* We just send directly to the connection based filters. At * this point, we know that we have seen all of the data