mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #38
This commit is contained in:
parent
e07424cde7
commit
74fc6991cc
2
core.cpp
2
core.cpp
|
@ -602,7 +602,7 @@ void Core::bootstrapDht()
|
||||||
if (tox_bootstrap_from_address(tox, dhtServer.address.toLatin1().data(),
|
if (tox_bootstrap_from_address(tox, dhtServer.address.toLatin1().data(),
|
||||||
0, qToBigEndian(dhtServer.port), CUserId(dhtServer.userId).data()) == 1)
|
0, qToBigEndian(dhtServer.port), CUserId(dhtServer.userId).data()) == 1)
|
||||||
qDebug() << QString("Core: Bootstraping from ")+dhtServer.name+QString(", addr ")+dhtServer.address.toLatin1().data()
|
qDebug() << QString("Core: Bootstraping from ")+dhtServer.name+QString(", addr ")+dhtServer.address.toLatin1().data()
|
||||||
+QString(", port ")+QString().setNum(qToBigEndian(dhtServer.port));
|
+QString(", port ")+QString().setNum(dhtServer.port);
|
||||||
else
|
else
|
||||||
qDebug() << "Core: Error bootstraping from "+dhtServer.name;
|
qDebug() << "Core: Error bootstraping from "+dhtServer.name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user