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 | 7ce1e7e580d14944da1bdeed684affd98c1c8eea (patch) | |
tree | bd6caff00f4d1ad8a2da9d35743a600b3d30467d /ace/IOStream_T.i | |
parent | 4a7878da9fd06aea28a4704f0ba992a4639c6eb1 (diff) | |
download | ATCD-7ce1e7e580d14944da1bdeed684affd98c1c8eea.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 |