aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connectionmanager.cpp1
-rw-r--r--src/connectionmonitor.cpp8
2 files changed, 7 insertions, 2 deletions
diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp
index d806618..e44c5f4 100644
--- a/src/connectionmanager.cpp
+++ b/src/connectionmanager.cpp
@@ -200,6 +200,7 @@ bool ConnectionManager::scanConnections( int nTimeout, bool bForceTimeout )
200 if( (*i)->hasOutput() ) 200 if( (*i)->hasOutput() )
201 { 201 {
202 (*i)->writeOutput(); 202 (*i)->writeOutput();
203 printf("Wrote pending output.\n");
203 } 204 }
204 if( (*i)->needDisconnect() && !(*i)->hasOutput() ) 205 if( (*i)->needDisconnect() && !(*i)->hasOutput() )
205 { 206 {
diff --git a/src/connectionmonitor.cpp b/src/connectionmonitor.cpp
index 14e46f7..4f90ee6 100644
--- a/src/connectionmonitor.cpp
+++ b/src/connectionmonitor.cpp
@@ -1,6 +1,10 @@
1#include "connectionmonitor.h" 1#include "connectionmonitor.h"
2 2
3ConnectionMonitor::ConnectionMonitor(){ 3ConnectionMonitor::ConnectionMonitor()
4{
4} 5}
5ConnectionMonitor::~ConnectionMonitor(){ 6
7ConnectionMonitor::~ConnectionMonitor()
8{
6} 9}
10