summaryrefslogtreecommitdiff
path: root/buckets/apr_buckets_mmap.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2002-05-31 20:51:20 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2002-05-31 20:51:20 +0000
commitb09649e3a65ad51ac05ccf92fc8e9cf3c088cc3b (patch)
tree7e3143da7bec5c48f316b44d4514cdfa5fb382a5 /buckets/apr_buckets_mmap.c
parentf1637224baf53c6265271adb1f87ba0963a0136f (diff)
downloadlibapr-util-b09649e3a65ad51ac05ccf92fc8e9cf3c088cc3b.tar.gz
Make buckets advertise if they are filled with metadata or not.
Long-term, we most likely want to extend this so that buckets can have more states than just "data" or "metadata". For now, this is enough. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buckets/apr_buckets_mmap.c')
-rw-r--r--buckets/apr_buckets_mmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/buckets/apr_buckets_mmap.c b/buckets/apr_buckets_mmap.c
index 85b5471c..29921872 100644
--- a/buckets/apr_buckets_mmap.c
+++ b/buckets/apr_buckets_mmap.c
@@ -120,6 +120,7 @@ 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;