You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/06/20 02:56:03 UTC

cvs commit: apr/file_io/win32 readwrite.c

wrowe       01/06/19 17:56:03

  Modified:    file_io/win32 readwrite.c
  Log:
    A fine catch, Mr. Woolley
  
  Revision  Changes    Path
  1.60      +1 -1      apr/file_io/win32/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/readwrite.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- readwrite.c	2001/06/06 16:04:55	1.59
  +++ readwrite.c	2001/06/20 00:56:02	1.60
  @@ -88,7 +88,7 @@
                                  &dwBytesAvail,          // pointer to total number of bytes available
                                  &dwBytesLeftThisMsg)) { // pointer to unread bytes in this message
                   rv = apr_get_os_error();
  -                if (rv = APR_FROM_OS_ERROR(ERROR_BROKEN_PIPE))
  +                if (rv == APR_FROM_OS_ERROR(ERROR_BROKEN_PIPE))
                       return APR_SUCCESS;
               }
               else {