aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index b546deb..f69ea24 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -68,8 +68,8 @@ void Bu::Client::processOutput()
68 if( sWriteBuf.getSize() > 0 ) 68 if( sWriteBuf.getSize() > 0 )
69 { 69 {
70 int nAmnt = (sWriteBuf.getSize()<2048)?(sWriteBuf.getSize()):(2048); 70 int nAmnt = (sWriteBuf.getSize()<2048)?(sWriteBuf.getSize()):(2048);
71 pSocket->write( sWriteBuf.getStr(), nAmnt ); 71 int nReal = pSocket->write( sWriteBuf.getStr(), nAmnt );
72 sWriteBuf.trimFront( nAmnt ); 72 sWriteBuf.trimFront( nReal );
73 //sWriteBuf.clear(); 73 //sWriteBuf.clear();
74 } 74 }
75} 75}