summaryrefslogtreecommitdiff
path: root/ace/IOStream_T.i
diff options
context:
space:
mode:
authorjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-04 03:31:53 +0000
committerjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-04 03:31:53 +0000
commit88379af20d3b234d0f535a3de1e05a861811dfbc (patch)
tree6c51beed28ff0aae0d19b721d766c9f22972734c /ace/IOStream_T.i
parent278a91d6494236da3b854fbda53a3faa4af86218 (diff)
downloadATCD-88379af20d3b234d0f535a3de1e05a861811dfbc.tar.gz
Restored 4.6.25 versions
Diffstat (limited to 'ace/IOStream_T.i')
-rw-r--r--ace/IOStream_T.i13
1 files changed, 7 insertions, 6 deletions
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 <class STREAM> ACE_INLINE int
ACE_IOStream<STREAM>::eof (void) const
{
// Get the timeout value of the streambuf
- ACE_Time_Value *timeout = ACE_Streambuf_T<STREAM>::recv_timeout (0);
+ ACE_Time_Value *timeout = this->streambuf_->recv_timeout (0);
// Reset the timeout value of the streambuf.
- (void) ACE_Streambuf_T<STREAM>::recv_timeout (timeout);
+ (void) this->streambuf_->recv_timeout (timeout);
char c;
- int rval = ACE_Streambuf_T<STREAM>::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<STREAM>::timeout())
+ if (this->streambuf_->timeout())
return 0;
// No timeout, got enough data: not eof
@@ -156,4 +158,3 @@ ACE_SOCK_Dgram_SC<STREAM>::get_remote_addr (ACE_INET_Addr &addr) const
addr = peer_;
return 0;
}
-