diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2002-06-02 19:54:49 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2002-06-02 19:54:49 +0000 |
commit | a59d4384e84aa2e847b83acd1d46c8d0deaadc11 (patch) | |
tree | 1a0f2a04a8c797613ca12eb38c4f64d05e7ece76 /buckets/apr_buckets_mmap.c | |
parent | b09649e3a65ad51ac05ccf92fc8e9cf3c088cc3b (diff) | |
download | libapr-util-a59d4384e84aa2e847b83acd1d46c8d0deaadc11.tar.gz |
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
Diffstat (limited to 'buckets/apr_buckets_mmap.c')
-rw-r--r-- | buckets/apr_buckets_mmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, |