From acd526741241aa584f19c2f479c856dca190c823 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 5 Apr 2009 12:37:14 +0000 Subject: [PATCH] Compiler error fixes. --- src/net/clientthread.h | 1 + src/net/common/clientstate.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/net/clientthread.h b/src/net/clientthread.h index 2a367bb3..33ea2529 100644 --- a/src/net/clientthread.h +++ b/src/net/clientthread.h @@ -242,6 +242,7 @@ friend class ClientStateStartServerListDownload; friend class ClientStateSynchronizingServerList; friend class ClientStateDownloadingServerList; friend class ClientStateReadingServerList; +friend class ClientStateWaitChooseServer; friend class ClientStateStartConnect; friend class ClientStateConnecting; friend class ClientStateStartSession; diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 6437d2d2..11387078 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -544,9 +544,9 @@ ClientStateWaitChooseServer::Process(ClientThread &client) int retVal = MSG_SOCK_INTERNAL_PENDING; unsigned serverId; - if (client.GetSelectedServer(serverid)) + if (client.GetSelectedServer(serverId)) { - client.UseServer(serverid); + client.UseServer(serverId); client.SetState(ClientStateStartResolve::Instance()); retVal = MSG_SOCK_SERVER_LIST_DONE; }