diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-20 15:16:07 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-20 15:16:07 +0000 |
commit | fdb6a1b43653b083577c6b31993f813623f1b301 (patch) | |
tree | f4aeba4fdc289ff537038076d219f7bccc852526 /io | |
parent | c930ed0f1c6b17df1ca65f0ed6b417a648de4027 (diff) |
INTEGRATION: CWS sb55 (1.9.4); FILE MERGED
2006/07/13 09:14:12 sb 1.9.4.1: #i46752# When reading from the socket, do not treat EOF as an error.
Diffstat (limited to 'io')
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index 7606b9686e81..b5757bf94db5 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ctr_socket.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2006-06-20 00:17:15 $ + * last change: $Author: kz $ $Date: 2006-07-20 16:16:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -147,7 +147,7 @@ namespace stoc_connector { } sal_Int32 i = m_socket.read( aReadBytes.getArray() , aReadBytes.getLength() ); - if(i != nBytesToRead) + if(i != nBytesToRead && m_socket.getError() != osl_Socket_E_None) { OUString message(RTL_CONSTASCII_USTRINGPARAM("ctr_socket.cxx:SocketConnection::read: error - ")); message += m_socket.getErrorAsString(); |