]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove a relic from the original error code, and fix segfaults in the
authorGraham Leggett <minfrin@apache.org>
Thu, 23 Sep 2010 10:17:07 +0000 (10:17 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 23 Sep 2010 10:17:07 +0000 (10:17 +0000)
process.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000395 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_storage.c

index 539aebfbf03417941ef3ad2bf533eec4654f30fa..7b07e38533232cff2cb09aaa2a34a82ab202130c 100644 (file)
@@ -81,7 +81,6 @@ int cache_create_entity(cache_request_rec *cache, request_rec *r,
         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 *cache, request_rec *r)
         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;
     }