From fc166765dacf4e9cbf2046fdb1a56b7846597047 Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Tue, 30 Sep 2003 09:30:06 +0000 Subject: [PATCH] Cosmetics: remove redundancy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101356 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/core.c b/server/core.c index e125d72b8f..cb4ddd1f9b 100644 --- a/server/core.c +++ b/server/core.c @@ -4130,20 +4130,17 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) &bytes_sent, /* how many bytes were sent */ flags); /* apr_sendfile flags */ - - if (logio_add_bytes_out && bytes_sent > 0) - logio_add_bytes_out(c, bytes_sent); } else #endif { rv = emulate_sendfile(net, fd, &hdtr, foffset, flen, &bytes_sent); - - if (logio_add_bytes_out && bytes_sent > 0) - logio_add_bytes_out(c, bytes_sent); } + if (logio_add_bytes_out && bytes_sent > 0) + logio_add_bytes_out(c, bytes_sent); + fd = NULL; } else { -- 2.50.1