From d8bbcea0d4f5164776a7a2e6c05b1b5d37289965 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 20 Aug 2006 16:30:43 +0000 Subject: Some code format changes, logging improvals and commenting. --- src/netcomputer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/netcomputer.cpp') diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp index bce3178..1c3c50b 100644 --- a/src/netcomputer.cpp +++ b/src/netcomputer.cpp @@ -49,7 +49,8 @@ void NetComputer::disconnect(const std::string &reason) void NetComputer::send(const MessageOut &msg) { - LOG_INFO("Sending packet of length " << msg.getDataSize(), 2); + LOG_INFO("Sending packet of length " << msg.getDataSize() << " to " + << ip4ToString(mPeer->address.host), 2); // Create a reliable packet. ENetPacket *packet = enet_packet_create(msg.getData(), msg.getDataSize(), -- cgit