]> granicus.if.org Git - apache/commitdiff
Fix the core to take the new file bucket type into account.
authorRyan Bloom <rbb@apache.org>
Tue, 23 Jan 2001 07:31:09 +0000 (07:31 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 23 Jan 2001 07:31:09 +0000 (07:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87794 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index 4c22635e2c56a2626e0077ede3fa8302cc2f13ef..381a740783045dc200128292b798ac44b945e39f 100644 (file)
@@ -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;