From c5fc9b215d337e0a7a1f6f0fb4506fda9066551d Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Mon, 2 Aug 2004 17:32:31 +0000 Subject: [PATCH] * modules/experimental/mod_disk_cache.c (load_headers): Only validate that the header file descriptor is available. (fd is an unnecessary check here.) Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104451 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_disk_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index 37b035536e..92ae5e1545 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -465,7 +465,7 @@ static apr_status_t read_headers(cache_handle_t *h, request_rec *r) apr_table_t * tmp; /* This case should not happen... */ - if (!dobj->fd || !dobj->hfd) { + if (!dobj->hfd) { /* XXX log message */ return APR_NOTFOUND; } -- 2.50.1