Merge branch 'packet-acceptance' into udp-client

This commit is contained in:
Jack Garrard 2022-10-23 14:41:48 -07:00
commit 968f513bf2

View file

@ -324,7 +324,7 @@ bool SocketClient::recv() {
if (!(header->mType > PacketType::UNKNOWN && header->mType < PacketType::End)) { if (!(header->mType > PacketType::UNKNOWN && header->mType < PacketType::End)) {
Logger::log("Failed to acquire valid packet type! Packet Type: %d Full Packet Size %d valread size: %d", header->mType, fullSize, valread); Logger::log("Failed to acquire valid packet type! Packet Type: %d Full Packet Size %d valread size: %d", header->mType, fullSize, valread);
free(packetBuf); mHeap->free(packetBuf);
return true; return true;
} }