]> granicus.if.org Git - apache/commitdiff
Let ap_send_fd handle the error logging to eliminate duplicate error log entries.
authorBill Stoddard <stoddard@apache.org>
Tue, 15 Aug 2000 12:54:08 +0000 (12:54 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 15 Aug 2000 12:54:08 +0000 (12:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86080 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_file_cache.c

index 9793dd9e35830fe811b5906ee20f89216dacbc0e..14e93af7c92cb11969fc31daf4e792962c76c847 100644 (file)
@@ -418,8 +418,7 @@ static int sendfile_handler(request_rec *r, a_file *file, int rangestatus)
         }
     }
     if (rv != APR_SUCCESS) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
-                      "mod_file_cache: sendfile_handler error serving file: %s", r->filename);
+        /* ap_send_fd will log the error */
         return HTTP_INTERNAL_SERVER_ERROR;
     }
 #endif