summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-24 22:21:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-24 22:21:02 +0300
commit490a93a1d7a347ab586637bf9d8163e114285a02 (patch)
treecae315ef7502f6e9b4b55bd68bac66d5fb8e33ff /src/net/tmwa
parenta5926417dad1f91966ccacfc5572369d309c59be (diff)
downloadplus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.gz
plus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.bz2
plus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.xz
plus-490a93a1d7a347ab586637bf9d8163e114285a02.zip
Add safe error string reporting function.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/network.cpp2
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())
{