Fixed debug message.

This commit is contained in:
hiker 2015-11-16 18:46:04 +11:00
parent 980cdf835d
commit 0ed22d0d6e

View File

@ -64,7 +64,7 @@ void STKPeer::sendPacket(NetworkString const& data, bool reliable)
{
TransportAddress a(m_enet_peer->address);
Log::verbose("STKPeer", "sending packet of size %d to %s",
a.toString().c_str());
data.size(), a.toString().c_str());
ENetPacket* packet = enet_packet_create(data.getBytes(), data.size() + 1,
(reliable ? ENET_PACKET_FLAG_RELIABLE