diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-07 22:28:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-07 22:28:26 +0300 |
commit | af98cb5dea5644e0d95a5bf41c03655e4ab808ef (patch) | |
tree | 02cf26d058760b25412fea71d1fb25c3c1626570 /src/net/messagein.cpp | |
parent | 8bbb2cbef9ab7a8c095ef4cb0bfc29cd26c62213 (diff) | |
download | manaverse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.gz manaverse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.bz2 manaverse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.xz manaverse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.zip |
Fix code style.
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r-- | src/net/messagein.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index 8f177f906..0fbbd45c7 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -227,7 +227,7 @@ std::string MessageIn::readRawString(int length) char const *stringEnd2 = static_cast<char const *>(memchr(stringBeg2, '\0', len2)); std::string hiddenPart = std::string(stringBeg2, - stringEnd2 ? stringEnd2 - stringBeg2 : len2); + stringEnd2 ? stringEnd2 - stringBeg2 : len2); if (hiddenPart.length() > 0) { DEBUGLOG("readString2: " + hiddenPart); |