httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-2.0/src/main http_protocol.c
Date Tue, 30 Nov 1999 03:36:36 GMT
manoj       99/11/29 19:36:35

  Modified:    src/main http_protocol.c
  Log:
  The extra (n < 1) check is redundant, leftover from pre-APR code.
  
  Revision  Changes    Path
  1.39      +1 -2      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -d -u -r1.38 -r1.39
  --- http_protocol.c	1999/11/20 11:56:13	1.38
  +++ http_protocol.c	1999/11/30 03:36:33	1.39
  @@ -2045,8 +2045,7 @@
           n = o;
           do {
               rv = ap_read(fd, buf, &n);
  -        } while (rv == APR_EINTR && !ap_is_aborted(r->connection) &&
  -                 (n < 1));
  +        } while (rv == APR_EINTR && !ap_is_aborted(r->connection));
   
           if (n < 1) {
               break;
  
  
  

Mime
View raw message