Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 14656 invoked from network); 30 Sep 2003 09:30:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Sep 2003 09:30:08 -0000 Received: (qmail 90614 invoked by uid 500); 30 Sep 2003 09:29:42 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90510 invoked by uid 500); 30 Sep 2003 09:29:41 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 90496 invoked by uid 500); 30 Sep 2003 09:29:41 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 90492 invoked from network); 30 Sep 2003 09:29:41 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 30 Sep 2003 09:29:41 -0000 Received: (qmail 14640 invoked by uid 1086); 30 Sep 2003 09:30:06 -0000 Date: 30 Sep 2003 09:30:06 -0000 Message-ID: <20030930093006.14639.qmail@minotaur.apache.org> From: martin@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server core.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N martin 2003/09/30 02:30:06 Modified: server core.c Log: Cosmetics: remove redundancy Revision Changes Path 1.246 +3 -6 httpd-2.0/server/core.c Index: core.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/core.c,v retrieving revision 1.245 retrieving revision 1.246 diff -u -u -r1.245 -r1.246 --- core.c 25 Sep 2003 20:50:26 -0000 1.245 +++ core.c 30 Sep 2003 09:30:06 -0000 1.246 @@ -4130,19 +4130,16 @@ &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; }