You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2010/09/23 12:17:08 UTC

svn commit: r1000395 - /httpd/httpd/trunk/modules/cache/cache_storage.c

Author: minfrin
Date: Thu Sep 23 10:17:07 2010
New Revision: 1000395

URL: http://svn.apache.org/viewvc?rev=1000395&view=rev
Log:
Remove a relic from the original error code, and fix segfaults in the
process.

Modified:
    httpd/httpd/trunk/modules/cache/cache_storage.c

Modified: httpd/httpd/trunk/modules/cache/cache_storage.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_storage.c?rev=1000395&r1=1000394&r2=1000395&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_storage.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_storage.c Thu Sep 23 10:17:07 2010
@@ -81,7 +81,6 @@ int cache_create_entity(cache_request_re
         ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, r->server,
                      "cache: No cache request information available for key"
                      " generation");
-        cache->key = "";
         return APR_EGENERAL;
     }
 
@@ -205,7 +204,6 @@ int cache_select(cache_request_rec *cach
         ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, r->server,
                      "cache: No cache request information available for key"
                      " generation");
-        cache->key = "";
         return APR_EGENERAL;
     }