summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.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/eathena/mailhandler.cpp
parent7ff1b993bfc1e65a2e2d44bbcfc6444421aa69a2 (diff)
downloadmanaverse-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.gz
manaverse-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.bz2
manaverse-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.xz
manaverse-2b5db5baf923a0c822e7ee048f218fd264e91f19.zip
Add missing packet field comments.
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r--src/net/eathena/mailhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 29f7d8fd7..b61291486 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -128,10 +128,10 @@ void MailHandler::send(const std::string &name,
const int sz = static_cast<int>(message.size());
createOutPacket(CMSG_MAIL_SEND);
- outMsg.writeInt16(static_cast<int16_t>(69 + sz));
+ outMsg.writeInt16(static_cast<int16_t>(69 + sz), "len");
outMsg.writeString(name, 24, "name");
outMsg.writeString(title, 40, "title");
- outMsg.writeInt8(static_cast<int8_t>(sz));
+ outMsg.writeInt8(static_cast<int8_t>(sz), "message size");
outMsg.writeString(message, sz, "message");
}