From: Paul Querna Date: Thu, 21 Jul 2005 11:40:30 +0000 (+0000) Subject: Opps. Use the correct member of the structure. X-Git-Tag: 2.1.7~5^2~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4b3ad20aa8c8e9a3fffcaec036363b71e7fc4fa;p=apache 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 --- 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);