Explorar o código

Debug armitage

Mihawk %!s(int64=12) %!d(string=hai) anos
pai
achega
2519333afe
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      SshClient.cpp

+ 2 - 0
SshClient.cpp

@@ -304,6 +304,7 @@ void SshClient::timerEvent(QTimerEvent *e)
 {
   if(e->timerId() == myConnectionTimerID)
   {
+    myApp->print("Timedout while trying to connect to central...\n");
     disconnectFromHost();
     emit error(ConnectionTimedOutError);
     return;
@@ -311,6 +312,7 @@ void SshClient::timerEvent(QTimerEvent *e)
 
   if(e->timerId() == myPingTimerID)
   {
+    myApp->print("Ping with no pong! Disconnecting from central...\n");
     disconnectFromHost();
     emit error(ConnectionTimedOutError);
     return;