You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/07/21 13:40:31 UTC
svn commit: r220038 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Author: pquerna
Date: Thu Jul 21 04:40:30 2005
New Revision: 220038
URL: http://svn.apache.org/viewcvs?rev=220038&view=rev
Log:
Opps. Use the correct member of the structure.
Modified:
httpd/httpd/trunk/modules/cache/mod_cache.c
Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=220038&r1=220037&r2=220038&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Thu Jul 21 04:40:30 2005
@@ -203,7 +203,7 @@
/* 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);