aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/socket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 94b4d60..1874fd2 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -202,6 +202,7 @@ size_t Bu::Socket::write( const void *pBuf, size_t nBytes )
202 int nWrote = TEMP_FAILURE_RETRY( ::write( nSocket, pBuf, nBytes ) ); 202 int nWrote = TEMP_FAILURE_RETRY( ::write( nSocket, pBuf, nBytes ) );
203 if( nWrote < 0 ) 203 if( nWrote < 0 )
204 { 204 {
205 if( errno == EAGAIN ) return 0;
205 throw ConnectionException( excodeWriteError, strerror(errno) ); 206 throw ConnectionException( excodeWriteError, strerror(errno) );
206 } 207 }
207 return nWrote; 208 return nWrote;