From 88379af20d3b234d0f535a3de1e05a861811dfbc Mon Sep 17 00:00:00 2001 From: jcej Date: Thu, 4 Mar 1999 03:31:53 +0000 Subject: Restored 4.6.25 versions --- ace/IOStream_T.i | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ace/IOStream_T.i') diff --git a/ace/IOStream_T.i b/ace/IOStream_T.i index 67d99c8080a..c145eb52cc3 100644 --- a/ace/IOStream_T.i +++ b/ace/IOStream_T.i @@ -53,17 +53,19 @@ template ACE_INLINE int ACE_IOStream::eof (void) const { // Get the timeout value of the streambuf - ACE_Time_Value *timeout = ACE_Streambuf_T::recv_timeout (0); + ACE_Time_Value *timeout = this->streambuf_->recv_timeout (0); // Reset the timeout value of the streambuf. - (void) ACE_Streambuf_T::recv_timeout (timeout); + (void) this->streambuf_->recv_timeout (timeout); char c; - int rval = ACE_Streambuf_T::recv_n (&c, sizeof c, MSG_PEEK, -timeout); + int rval = this->streambuf_->recv_n (&c, + sizeof c, + MSG_PEEK, + timeout); // Timeout, not an eof - if (ACE_Streambuf_T::timeout()) + if (this->streambuf_->timeout()) return 0; // No timeout, got enough data: not eof @@ -156,4 +158,3 @@ ACE_SOCK_Dgram_SC::get_remote_addr (ACE_INET_Addr &addr) const addr = peer_; return 0; } - -- cgit v1.2.1