summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-07 22:28:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-07 22:28:26 +0300
commitaf98cb5dea5644e0d95a5bf41c03655e4ab808ef (patch)
tree02cf26d058760b25412fea71d1fb25c3c1626570 /src/net/messagein.cpp
parent8bbb2cbef9ab7a8c095ef4cb0bfc29cd26c62213 (diff)
downloadManaVerse-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.cpp2
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);