httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1000395 - /httpd/httpd/trunk/modules/cache/cache_storage.c
Date Thu, 23 Sep 2010 10:17:08 GMT
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;
     }
 



Mime
View raw message