summaryrefslogtreecommitdiff
path: root/src/net/messageout.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
commit2b5db5baf923a0c822e7ee048f218fd264e91f19 (patch)
tree1d9590f40e9ba0ee32e5441d6c2d69f82f58ba3f /src/net/messageout.cpp
parent7ff1b993bfc1e65a2e2d44bbcfc6444421aa69a2 (diff)
downloadmanaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.gz
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.bz2
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.xz
manaplus-2b5db5baf923a0c822e7ee048f218fd264e91f19.zip
Add missing packet field comments.
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r--src/net/messageout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp
index e2476813d..d13e0969e 100644
--- a/src/net/messageout.cpp
+++ b/src/net/messageout.cpp
@@ -66,7 +66,7 @@ void MessageOut::writeString(const std::string &string,
if (length < 0)
{
// Write the length at the start if not fixed
- writeInt16(static_cast<int16_t>(stringLength));
+ writeInt16(static_cast<int16_t>(stringLength), "len");
length = stringLength;
}
else if (length < stringLength)
@@ -100,7 +100,7 @@ void MessageOut::writeStringNoLog(const std::string &string,
if (length < 0)
{
// Write the length at the start if not fixed
- writeInt16(static_cast<int16_t>(stringLength));
+ writeInt16(static_cast<int16_t>(stringLength), "len");
length = stringLength;
}
else if (length < stringLength)