summaryrefslogtreecommitdiff
path: root/src/net/tmwa/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/tmwa/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/tmwa/messagein.cpp')
-rw-r--r--src/net/tmwa/messagein.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/messagein.cpp b/src/net/tmwa/messagein.cpp
index 01956bc3b..660548bd6 100644
--- a/src/net/tmwa/messagein.cpp
+++ b/src/net/tmwa/messagein.cpp
@@ -79,7 +79,7 @@ int16_t MessageIn::readInt16(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int16_t));
#endif
}
- DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
+ DEBUGLOG2("readInt16: " + toStringPrint(static_cast<unsigned int>(
static_cast<uint16_t>(value))),
mPos, str);
mPos += 2;
@@ -100,7 +100,7 @@ int32_t MessageIn::readInt32(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int32_t));
#endif
}
- DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt32: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 4;
PacketCounters::incInBytes(4);
@@ -120,7 +120,7 @@ int64_t MessageIn::readInt64(const char *const str)
memcpy(&value, mData + static_cast<size_t>(mPos), sizeof(int64_t));
#endif
}
- DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
+ DEBUGLOG2("readInt64: " + toStringPrint(static_cast<unsigned int>(value)),
mPos, str);
mPos += 8;
PacketCounters::incInBytes(8);