]> granicus.if.org Git - apache/commitdiff
* modules/experimental/mod_disk_cache.c (load_headers): Only validate that the
authorJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 2 Aug 2004 17:32:31 +0000 (17:32 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 2 Aug 2004 17:32:31 +0000 (17:32 +0000)
  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

index 37b035536ee35d025fae00ff5f86dab6020f5db7..92ae5e15459ae24ae353ac13326f69513ebef854 100644 (file)
@@ -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;
     }