summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-19 17:00:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-19 17:00:48 +0300
commit2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07 (patch)
tree09a83d1a3df14b750e17d5d71f6f53f2abe4aaf6 /src/net/messagein.cpp
parent5a189e3fbf4e49d352ff68113211d6b59d9217c8 (diff)
downloadmanaverse-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.gz
manaverse-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.bz2
manaverse-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.tar.xz
manaverse-2e7f792b0f5ef9fc68b90f80f4dcaad5a4cffc07.zip
add a bit formatting in logging network packets.
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index 79e506715..dee3c2c64 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -73,7 +73,7 @@ unsigned char MessageIn::readUInt8(const char *const str)
if (mPos < mLength)
value = static_cast<unsigned char>(mData[mPos]);
- DEBUGLOG2("readUInt8: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readUInt8: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 1;
PacketCounters::incInBytes(1);
@@ -86,7 +86,7 @@ signed char MessageIn::readInt8(const char *const str)
if (mPos < mLength)
value = static_cast<signed char>(mData[mPos]);
- DEBUGLOG2("readInt8: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("readInt8: " + toStringPrint(static_cast<unsigned int>(
static_cast<unsigned char>(value))),
mPos, str);
mPos += 1;