httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/unix sendrecv.c
Date Thu, 12 Oct 2000 01:32:23 GMT
trawick     00/10/11 18:32:23

  Modified:    src/lib/apr/network_io/unix sendrecv.c
  Log:
  If we're returning APR_EOF to signal a socket which the other side
  closed, we need to tell the caller we read zero bytes.
  
  Revision  Changes    Path
  1.43      +1 -1      apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- sendrecv.c	2000/10/11 23:23:28	1.42
  +++ sendrecv.c	2000/10/12 01:32:23	1.43
  @@ -155,10 +155,10 @@
           (*len) = 0;
           return errno;
       }
  +    (*len) = rv;
       if (rv == 0) {
           return APR_EOF;
       }
  -    (*len) = rv;
       return APR_SUCCESS;
   }
   
  
  
  

Mime
View raw message