remove some extraneous domain-server check in debugging

This commit is contained in:
Stephen Birarda 2014-03-25 14:53:32 -07:00
parent 38ad75fc9e
commit 56869a769d

View file

@ -582,12 +582,7 @@ void NodeList::sendDomainServerCheckIn() {
packetStream << nodeTypeOfInterest;
}
qDebug() << "sending DS check in size" << domainServerPacket.size() << "to" << _domainInfo.getSockAddr();
qint64 code = writeDatagram(domainServerPacket, _domainInfo.getSockAddr(), _domainInfo.getConnectionSecret());
qDebug() << "Code returned is" << code;
if (code == -1) {
qDebug() << "the socket error is" << _nodeSocket.errorString();
}
writeDatagram(domainServerPacket, _domainInfo.getSockAddr(), _domainInfo.getConnectionSecret());
const int NUM_DOMAIN_SERVER_CHECKINS_PER_STUN_REQUEST = 5;
static unsigned int numDomainCheckins = 0;