summaryrefslogtreecommitdiff
path: root/buckets/apr_buckets_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'buckets/apr_buckets_file.c')
-rw-r--r--buckets/apr_buckets_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buckets/apr_buckets_file.c b/buckets/apr_buckets_file.c
index 7cea3a40d..82bb2d172 100644
--- a/buckets/apr_buckets_file.c
+++ b/buckets/apr_buckets_file.c
@@ -205,7 +205,7 @@ APR_DECLARE(apr_status_t) apr_bucket_file_set_buf_size(apr_bucket *e,
a->read_size = APR_BUCKET_BUFF_SIZE;
}
else {
- apr_size_t floor = apr_bucket_alloc_aligned_floor(size);
+ apr_size_t floor = apr_bucket_alloc_aligned_floor(e->list, size);
a->read_size = (size < floor) ? size : floor;
}