]> granicus.if.org Git - apache/commitdiff
Opps. Use the correct member of the structure.
authorPaul Querna <pquerna@apache.org>
Thu, 21 Jul 2005 11:40:30 +0000 (11:40 +0000)
committerPaul Querna <pquerna@apache.org>
Thu, 21 Jul 2005 11:40:30 +0000 (11:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@220038 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index be92bff5aab8062378244f57eec54379c5f1f1b4..87410133ab4c938e11b71bc48794a539b79fc950 100644 (file)
@@ -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);