From: Martin Kraemer Date: Tue, 30 Sep 2003 09:30:06 +0000 (+0000) Subject: Cosmetics: remove redundancy X-Git-Tag: pre_ajp_proxy~1129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc166765dacf4e9cbf2046fdb1a56b7846597047;p=apache Cosmetics: remove redundancy git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101356 13f79535-47bb-0310-9956-ffa450edef68 --- 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 {