mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
Revert "Utils: portOpen: additional error logging"
This reverts commit 7e89310386.
This commit is contained in:
+1
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user