From: Ryan Bloom Date: Tue, 23 Jan 2001 07:31:09 +0000 (+0000) Subject: Fix the core to take the new file bucket type into account. X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32897f5a9fb3e5c52d1c64045067e099a3503f3a;p=apache Fix the core to take the new file bucket type into account. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87794 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 4c22635e2c..381a740783 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -3349,7 +3349,8 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) break; } else if (APR_BUCKET_IS_FILE(e)) { - apr_bucket_file *a = e->data; + apr_bucket_shared *s = e->data; + apr_bucket_file *a = s->data; /* Assume there is at most one APR_BUCKET_FILE in the brigade */ fd = a->fd; flen = e->length;