From: Graham Leggett Date: Thu, 23 Sep 2010 10:17:07 +0000 (+0000) Subject: Remove a relic from the original error code, and fix segfaults in the X-Git-Tag: 2.3.9~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a24e84f8e26e7bd2a6476697d20bd21fbadea6;p=thirdparty%2Fapache%2Fhttpd.git Remove a relic from the original error code, and fix segfaults in the process. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1000395 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/cache_storage.c b/modules/cache/cache_storage.c index 539aebfbf03..7b07e385332 100644 --- a/modules/cache/cache_storage.c +++ b/modules/cache/cache_storage.c @@ -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; }