Codechange: convert printf DEBUG statements to fmt Debug statements
This commit is contained in:
@@ -114,9 +114,9 @@ bool NetworkContentSocketHandler::HandlePacket(Packet *p)
|
||||
|
||||
default:
|
||||
if (this->HasClientQuit()) {
|
||||
DEBUG(net, 0, "[tcp/content] Received invalid packet type %d", type);
|
||||
Debug(net, 0, "[tcp/content] Received invalid packet type {}", type);
|
||||
} else {
|
||||
DEBUG(net, 0, "[tcp/content] Received illegal packet");
|
||||
Debug(net, 0, "[tcp/content] Received illegal packet");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -167,7 +167,7 @@ bool NetworkContentSocketHandler::ReceivePackets()
|
||||
*/
|
||||
bool NetworkContentSocketHandler::ReceiveInvalidPacket(PacketContentType type)
|
||||
{
|
||||
DEBUG(net, 0, "[tcp/content] Received illegal packet type %d", type);
|
||||
Debug(net, 0, "[tcp/content] Received illegal packet type {}", type);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user