Improve debugging diagnostic

This commit is contained in:
Simon Walton 2018-03-05 18:10:15 -08:00
parent 8fb3015ec8
commit 547d86a2d5

View file

@ -403,7 +403,7 @@ void Socket::readPendingDatagrams() {
packet->getPayloadSize())) {
// the connection could not be created or indicated that we should not continue processing this packet
#ifdef UDT_CONNECTION_DEBUG
qCDebug(networking) << "Bad packet version" << (unsigned int)NLPacket::versionInHeader(*packet)
qCDebug(networking) << "Can't process packet: version" << (unsigned int)NLPacket::versionInHeader(*packet)
<< ", type" << NLPacket::typeInHeader(*packet);
#endif
continue;