summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 18:06:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 18:06:14 +0300
commitf579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48 (patch)
treec8a8742c89a1b80f84f53a52728f3c87573f9616 /src/logger.cpp
parent4ed8030f36a873fdf881f37c6dccbf28029ce22a (diff)
downloadmv-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.gz
mv-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.bz2
mv-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.xz
mv-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.zip
Improve reporting string about unimplimented packets.
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 e91480f7f..0c004cb64 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -362,7 +362,8 @@ void Logger::unimplimented(const int id)
if (!mReportUnimplimented)
return;
- const std::string str = strprintf("Unimplimented packet: %d", id);
+ const std::string str = strprintf("Unimplimented packet: %d (0x%x)",
+ id, id);
DebugMessageListener::distributeEvent(str);
log(str);
}