diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 3b90329..d66ff97 100644 --- a/src/connection.cpp +++ b/src/connection.cpp | |||
@@ -330,7 +330,8 @@ bool Connection::clearInput() | |||
330 | 330 | ||
331 | bool Connection::writeOutput() | 331 | bool Connection::writeOutput() |
332 | { | 332 | { |
333 | int nBytes = TEMP_FAILURE_RETRY( write( nSocket, xOutputBuf.getData(), min( 2048, xOutputBuf.getLength() ) ) ); | 333 | //int nBytes = TEMP_FAILURE_RETRY( write( nSocket, xOutputBuf.getData(), min( 2048, xOutputBuf.getLength() ) ) ); |
334 | int nBytes = TEMP_FAILURE_RETRY( write( nSocket, xOutputBuf.getData(), xOutputBuf.getLength() ) ); | ||
334 | if( nBytes < 0 ) | 335 | if( nBytes < 0 ) |
335 | { | 336 | { |
336 | perror("writeOutput"); | 337 | perror("writeOutput"); |