aboutsummaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index aa130db..0dff918 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -358,6 +358,12 @@ bool Connection::writeOutput()
358 return true; 358 return true;
359} 359}
360 360
361bool Connection::writeAllOutput()
362{
363 while( hasOutput() ) writeOutput();
364 return true;
365}
366
361bool Connection::hasOutput() 367bool Connection::hasOutput()
362{ 368{
363 if( xOutputBuf.getLength() == 0 ) 369 if( xOutputBuf.getLength() == 0 )