From 32897f5a9fb3e5c52d1c64045067e099a3503f3a Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 23 Jan 2001 07:31:09 +0000 Subject: [PATCH] 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 --- modules/http/http_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.40.0