diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-02 03:04:27 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-02 03:04:27 +0000 |
commit | 4d4d8b593dc90a990f565b798d8f880fe0605058 (patch) | |
tree | bd6caff00f4d1ad8a2da9d35743a600b3d30467d /ace/IOStream_T.i | |
parent | ca2696c29033fd6f4c03ee74daeed672389c72ca (diff) | |
download | ATCD-4d4d8b593dc90a990f565b798d8f880fe0605058.tar.gz |
fixed eof return value, some more
Diffstat (limited to 'ace/IOStream_T.i')
-rw-r--r-- | ace/IOStream_T.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/IOStream_T.i b/ace/IOStream_T.i index cfbc4215b82..f502743868c 100644 --- a/ace/IOStream_T.i +++ b/ace/IOStream_T.i @@ -70,7 +70,7 @@ ACE_IOStream<STREAM>::eof (void) const // If recv_n() didn't fail or failed because of timeout we're not at // EOF. - return rval == -1 && ! this->streambuf_->timeout (); + return rval == 0 || (rval == -1 && ! this->streambuf_->timeout ()(; } template <class STREAM> ACE_INLINE |