summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/account-server/accountclient.hpp2
-rw-r--r--src/account-server/accounthandler.cpp8
3 files changed, 9 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 264cbc5e..b268df80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);