mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Revert "Utils: portOpen: additional error logging"
This reverts commit 7e89310386
.
This commit is contained in:
parent
b2c1d0ad6d
commit
dabf328ed3
1 changed files with 1 additions and 4 deletions
|
@ -299,11 +299,8 @@ bool portOpen(const QString &hostname, quint16 port) { // TODO: this call should
|
||||||
|
|
||||||
QTcpSocket socket;
|
QTcpSocket socket;
|
||||||
socket.connectToHost(hostname, port);
|
socket.connectToHost(hostname, port);
|
||||||
bool res = socket.waitForConnected(1000);
|
bool res = socket.waitForConnected(600);
|
||||||
qDebug() << QString("Port " + (res ? QString("Open") : QString("Closed")));
|
qDebug() << QString("Port " + (res ? QString("Open") : QString("Closed")));
|
||||||
if (!res) {
|
|
||||||
qDebug() << "Error: " << socket.error() << " - " << socket.errorString();
|
|
||||||
}
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue