diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 19:07:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 19:07:51 +0300 |
commit | d4b58f6dce665979a615cf5b73521ee37140e1d0 (patch) | |
tree | fb8566a7ea4e9e48923a58c0eace738979452582 /src | |
parent | 1cf6cb343c6c8df8a998c617fd6f8d40f5affbea (diff) | |
download | manaverse-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.gz manaverse-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.bz2 manaverse-d4b58f6dce665979a615cf5b73521ee37140e1d0.tar.xz manaverse-d4b58f6dce665979a615cf5b73521ee37140e1d0.zip |
Show hex packet id in for wrong packet sizes.
Diffstat (limited to 'src')
-rw-r--r-- | src/logger.cpp | 3 |
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); |