httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Tue, 30 Sep 2003 09:30:06 GMT
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;
           }
  
  
  

Mime
View raw message