summaryrefslogtreecommitdiff
path: root/modules/cache
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2005-07-21 11:40:30 +0000
committerPaul Querna <pquerna@apache.org>2005-07-21 11:40:30 +0000
commitf4b3ad20aa8c8e9a3fffcaec036363b71e7fc4fa (patch)
tree8d0ef1246e38eb11ef2fa73e2d4400b42f8b2137 /modules/cache
parentf00dcbee2e12a52f6417f643ed5617a1d249b781 (diff)
downloadhttpd-f4b3ad20aa8c8e9a3fffcaec036363b71e7fc4fa.tar.gz
Opps. Use the correct member of the structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@220038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c
index be92bff5aa..87410133ab 100644
--- a/modules/cache/mod_cache.c
+++ b/modules/cache/mod_cache.c
@@ -203,7 +203,7 @@ static int cache_out_filter(ap_filter_t *f, apr_bucket_brigade *bb)
/* restore status of cached response */
/* XXX: This exposes a bug in mem_cache, since it does not
* restore the status into it's handle. */
- r->status = cache->handle->status;
+ r->status = cache->handle->cache_obj->info.status;
/* recall_headers() was called in cache_select_url() */
cache->provider->recall_body(cache->handle, r->pool, bb);