瀏覽代碼

Debug armitage

Mihawk 12 年之前
父節點
當前提交
2519333afe
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;