summaryrefslogtreecommitdiff
path: root/ace/IOStream_T.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-02 03:04:27 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-02 03:04:27 +0000
commit4d4d8b593dc90a990f565b798d8f880fe0605058 (patch)
treebd6caff00f4d1ad8a2da9d35743a600b3d30467d /ace/IOStream_T.i
parentca2696c29033fd6f4c03ee74daeed672389c72ca (diff)
downloadATCD-4d4d8b593dc90a990f565b798d8f880fe0605058.tar.gz
fixed eof return value, some more
Diffstat (limited to 'ace/IOStream_T.i')
-rw-r--r--ace/IOStream_T.i2
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