diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 16:50:45 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 16:50:45 +0000 |
commit | f7a0cc83bb59efd6abd820bd78acc75e8313ea4e (patch) | |
tree | ed2285cb8ca3ee91193870bec93685de1c0c85a7 /vos/source | |
parent | 53d50f23228c3acfe75703b51c8832ac48f54270 (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'vos/source')
-rw-r--r-- | vos/source/socket.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vos/source/socket.cxx b/vos/source/socket.cxx index 1a239de1eb03..be7c1f033b16 100644 --- a/vos/source/socket.cxx +++ b/vos/source/socket.cxx @@ -2,9 +2,9 @@ * * $RCSfile: socket.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: gh $ $Date: 2001-07-24 11:54:55 $ + * last change: $Author: hr $ $Date: 2003-03-27 17:50:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1474,7 +1474,7 @@ sal_Int32 OStreamSocket::read(void* pBuffer, sal_uInt32 n) const Ptr += RetVal; /* wait for next available data or timeout */ - if ( BytesToRead > 0 && m_pRecvTimeout && ! isRecvReady(m_pRecvTimeout)) + if (m_pRecvTimeout && ! isRecvReady(m_pRecvTimeout)) break; } @@ -1522,7 +1522,7 @@ sal_Int32 OStreamSocket::write(const void* pBuffer, sal_uInt32 n) Ptr += RetVal; /* wait till new data is available or timeout occures */ - if ( BytesToSend > 0 && m_pSendTimeout && ! isSendReady(m_pSendTimeout)) + if (m_pSendTimeout && ! isSendReady(m_pSendTimeout)) break; } |