From a59d4384e84aa2e847b83acd1d46c8d0deaadc11 Mon Sep 17 00:00:00 2001 From: rbb Date: Sun, 2 Jun 2002 19:54:49 +0000 Subject: Move the metadata flag to the bucket_type structure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58663 13f79535-47bb-0310-9956-ffa450edef68 --- buckets/apr_buckets_mmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'buckets/apr_buckets_mmap.c') diff --git a/buckets/apr_buckets_mmap.c b/buckets/apr_buckets_mmap.c index 29921872..11d1b2c6 100644 --- a/buckets/apr_buckets_mmap.c +++ b/buckets/apr_buckets_mmap.c @@ -120,7 +120,6 @@ APU_DECLARE(apr_bucket *) apr_bucket_mmap_make(apr_bucket *b, apr_mmap_t *mm, } b = apr_bucket_shared_make(b, m, start, length); - b->is_metadata = 0; b->type = &apr_bucket_type_mmap; return b; @@ -172,7 +171,7 @@ static apr_status_t mmap_bucket_setaside(apr_bucket *data, apr_pool_t *p) } APU_DECLARE_DATA const apr_bucket_type_t apr_bucket_type_mmap = { - "MMAP", 5, + "MMAP", 5, APR_BUCKET_DATA, mmap_bucket_destroy, mmap_bucket_read, mmap_bucket_setaside, -- cgit v1.2.1