diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-16 11:39:39 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-16 11:39:39 +0000 |
commit | d3c7728804e762338669e6e9bd1b30d543ef8ee5 (patch) | |
tree | 51ee7ed7fcf9941749f2fc1301977d836f10fbcc /src/net | |
parent | 89e78bcc5b29a8dd14422a8fa6a23a17a93e98e0 (diff) | |
download | mana-d3c7728804e762338669e6e9bd1b30d543ef8ee5.tar.gz mana-d3c7728804e762338669e6e9bd1b30d543ef8ee5.tar.bz2 mana-d3c7728804e762338669e6e9bd1b30d543ef8ee5.tar.xz mana-d3c7728804e762338669e6e9bd1b30d543ef8ee5.zip |
Reduced noise in log file.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/connection.cpp | 2 | ||||
-rw-r--r-- | src/net/network.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/connection.cpp b/src/net/connection.cpp index ce060ae7..caaa0ce1 100644 --- a/src/net/connection.cpp +++ b/src/net/connection.cpp @@ -96,7 +96,7 @@ void Net::Connection::send(const MessageOut &msg) return; } - logger->log("Sending message of size %d...", msg.getDataSize()); + //logger->log("Sending message of size %d...", msg.getDataSize()); ENetPacket *packet = enet_packet_create(msg.getData(), msg.getDataSize(), diff --git a/src/net/network.cpp b/src/net/network.cpp index 6b29ff33..7cf4bf49 100644 --- a/src/net/network.cpp +++ b/src/net/network.cpp @@ -124,8 +124,8 @@ namespace MessageHandlerIterator iter = mMessageHandlers.find(msg.getId()); if (iter != mMessageHandlers.end()) { - logger->log("Received packet %x (%i B)", - msg.getId(), msg.getLength()); + //logger->log("Received packet %x (%i B)", + // msg.getId(), msg.getLength()); iter->second->handleMessage(msg); } else { |