diff options
Diffstat (limited to 'modules/experimental/mod_disk_cache.c')
-rw-r--r-- | modules/experimental/mod_disk_cache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index ab2a4ab5ae..c8ab2ad10b 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -679,7 +679,10 @@ static apr_status_t write_body(cache_handle_t *h, request_rec *r, apr_bucket_bri return rv; } } - APR_BRIGADE_FOREACH(e, b) { + for (e = APR_BRIGADE_FIRST(b); + e != APR_BRIGADE_SENTINEL(b); + e = APR_BUCKET_NEXT(e)) + { const char *str; apr_size_t length; apr_bucket_read(e, &str, &length, APR_BLOCK_READ); |