diff options
Diffstat (limited to 'cppe/src/TcpTransport/Transceiver.cpp')
-rw-r--r-- | cppe/src/TcpTransport/Transceiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/TcpTransport/Transceiver.cpp b/cppe/src/TcpTransport/Transceiver.cpp index 596d4c3da8c..f3bb4715748 100644 --- a/cppe/src/TcpTransport/Transceiver.cpp +++ b/cppe/src/TcpTransport/Transceiver.cpp @@ -142,7 +142,7 @@ IceInternal::Transceiver::write(Buffer& buf, int timeout) } #ifndef ICEE_USE_SELECT_FOR_TIMEOUTS - if(wouldBlock()) + if(timedout()) { throw TimeoutException(__FILE__, __LINE__); } @@ -255,7 +255,7 @@ IceInternal::Transceiver::read(Buffer& buf, int timeout) } #ifndef ICEE_USE_SELECT_FOR_TIMEOUTS - if(wouldBlock()) + if(timedout()) { throw TimeoutException(__FILE__, __LINE__); } |