diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-19 17:33:57 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-19 17:33:57 +0000 |
commit | d0fa28b3820551adf5f4075355b05d19d7c43806 (patch) | |
tree | b3cd14cd183b67d775026d9e4afd6d5a8e665750 | |
parent | e5619a10db784ebf732851233cb2ed49477f1126 (diff) | |
download | manaserv-d0fa28b3820551adf5f4075355b05d19d7c43806.tar.gz manaserv-d0fa28b3820551adf5f4075355b05d19d7c43806.tar.bz2 manaserv-d0fa28b3820551adf5f4075355b05d19d7c43806.tar.xz manaserv-d0fa28b3820551adf5f4075355b05d19d7c43806.zip |
fixed more spelling mistakes.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/account-server/accountclient.hpp | 2 | ||||
-rw-r--r-- | src/account-server/accounthandler.cpp | 8 |
3 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,9 @@ 2007-03-19 Philipp Sehmisch <tmw@crushnet.org> - * - + * src/game-server/gamehandler.cpp, src/game-server/gamehandler.hpp, + src/utils/tokendispenser.hpp, src/account-server/accountclient.cpp, + src/account-server/accounthandler.cpp: Fixed two compiler warnings + and corrected a spelling error. 2007-03-18 Rogier Polak <rogier.l.a.polak@gmail.com> diff --git a/src/account-server/accountclient.hpp b/src/account-server/accountclient.hpp index a28c46dd..f64d0ba0 100644 --- a/src/account-server/accountclient.hpp +++ b/src/account-server/accountclient.hpp @@ -36,7 +36,7 @@ enum { CLIENT_LOGIN = 0, CLIENT_CONNECTED, - CLIENT_QUEQUED + CLIENT_QUEUED }; /** diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 423cd586..726b1b8d 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -64,7 +64,7 @@ AccountHandler::computerDisconnected(NetComputer *comp) { AccountClient* computer = static_cast< AccountClient * >(comp); - if (computer->status == CLIENT_QUEQUED) + if (computer->status == CLIENT_QUEUED) // Delete it from the pendingClient list mTokenCollector.deletePendingClient(computer); @@ -252,7 +252,7 @@ AccountHandler::handleLogoutMessage(AccountClient &computer) computer.status = CLIENT_LOGIN; reply.writeByte(ERRMSG_OK); } - else if (computer.status == CLIENT_QUEQUED) + else if (computer.status == CLIENT_QUEUED) { // Delete it from the pendingClient list mTokenCollector.deletePendingClient(&computer); @@ -273,7 +273,7 @@ handleReconnectMessage(AccountClient &computer, MessageIn &msg) } std::string magic_token = msg.readString(MAGIC_TOKEN_LENGTH); - computer.status = CLIENT_QUEQUED; // Before the addPendingClient + computer.status = CLIENT_QUEUED; // Before the addPendingClient mTokenCollector.addPendingClient(magic_token, &computer); } @@ -788,7 +788,7 @@ void AccountHandler::deletePendingClient(AccountClient* computer) { // Something might have changed since it was inserted - if (computer->status != CLIENT_QUEQUED) return; + if (computer->status != CLIENT_QUEUED) return; MessageOut msg(APMSG_CONNECTION_TIMEDOUT); computer->disconnect(msg); |