summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-22 19:07:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-22 19:07:51 +0300
commitd4b58f6dce665979a615cf5b73521ee37140e1d0 (patch)
treefb8566a7ea4e9e48923a58c0eace738979452582 /src/logger.cpp
parent1cf6cb343c6c8df8a998c617fd6f8d40f5affbea (diff)
downloadmanaplus-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.gz
manaplus-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.bz2
manaplus-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.xz
manaplus-d4b58f6dce665979a615cf5b73521ee37140e1d0.zip
Show hex packet id in for wrong packet sizes.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 2368f6f2e..89077b021 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -414,7 +414,8 @@ void Logger::unimplimented(const uint32_t id,
const std::string str = strprintf(
"Wrong actual or planned inbound packet size!. "
- "Packet id: %u, Planned size: %u, Actual size: %u",
+ "Packet id: %u(0x%x), Planned size: %u, Actual size: %u",
+ id,
id,
id2,
id3);