diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 17:55:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | ffeffa2314dbe03e0ced58e0c465760b54908690 (patch) | |
tree | 3da4d65e43a4b55aed7c01ec612c9dec50d1bd1c /src/net/ea/loginhandler.cpp | |
parent | ae550d179c25e149f7e8a8d70011b364fb0d85d6 (diff) | |
download | manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.gz manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.bz2 manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.tar.xz manaplus-ffeffa2314dbe03e0ced58e0c465760b54908690.zip |
fix cide style.
Add explicit keyword to some constructors.
Diffstat (limited to 'src/net/ea/loginhandler.cpp')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index ea4452528..33c9ec45f 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -164,7 +164,7 @@ void LoginHandler::procecessCharPasswordResponse(Net::MessageIn &msg) const void LoginHandler::processUpdateHost(Net::MessageIn &msg) { - int len = msg.readInt16() - 4; + const int len = msg.readInt16() - 4; mUpdateHost = msg.readString(len); if (!checkPath(mUpdateHost)) |