]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
Revert "Utils: portOpen: additional error logging"
authortobtoht <tob@featherwallet.org>
Tue, 23 May 2023 18:32:20 +0000 (20:32 +0200)
committertobtoht <tob@featherwallet.org>
Tue, 23 May 2023 18:32:20 +0000 (20:32 +0200)
This reverts commit 7e8931038651c0e31cfd00ff35bab217be051e31.

src/utils/Utils.cpp

index 75b5280d017b2853b909b94182d7f11b876b703f..dce7875157aa721e89fdeebd600f2d60544a38b9 100644 (file)
@@ -299,11 +299,8 @@ bool portOpen(const QString &hostname, quint16 port) { // TODO: this call should
 
     QTcpSocket socket;
     socket.connectToHost(hostname, port);
-    bool res = socket.waitForConnected(1000);
+    bool res = socket.waitForConnected(600);
     qDebug() << QString("Port " + (res ? QString("Open") : QString("Closed")));
-    if (!res) {
-        qDebug() << "Error: " << socket.error() << " - " << socket.errorString();
-    }
     return res;
 }