diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-24 22:21:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-24 22:21:02 +0300 |
commit | 490a93a1d7a347ab586637bf9d8163e114285a02 (patch) | |
tree | cae315ef7502f6e9b4b55bd68bac66d5fb8e33ff /src/net/tmwa | |
parent | a5926417dad1f91966ccacfc5572369d309c59be (diff) | |
download | manaverse-490a93a1d7a347ab586637bf9d8163e114285a02.tar.gz manaverse-490a93a1d7a347ab586637bf9d8163e114285a02.tar.bz2 manaverse-490a93a1d7a347ab586637bf9d8163e114285a02.tar.xz manaverse-490a93a1d7a347ab586637bf9d8163e114285a02.zip |
Add safe error string reporting function.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 6e9e367c0..b8ba7554e 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -236,7 +236,7 @@ void Network::dispatchMessages() MessageHandlerIterator iter = mMessageHandlers.find(msg.getId()); if (msg.getLength() == 0) - logger->error("Zero length packet received. Exiting."); + logger->safeError("Zero length packet received. Exiting."); if (iter != mMessageHandlers.end()) { |