Compiler error fixes.

This commit is contained in:
lotodore
2009-04-05 12:37:14 +00:00
parent f54e03d179
commit acd5267412
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -242,6 +242,7 @@ friend class ClientStateStartServerListDownload;
friend class ClientStateSynchronizingServerList; friend class ClientStateSynchronizingServerList;
friend class ClientStateDownloadingServerList; friend class ClientStateDownloadingServerList;
friend class ClientStateReadingServerList; friend class ClientStateReadingServerList;
friend class ClientStateWaitChooseServer;
friend class ClientStateStartConnect; friend class ClientStateStartConnect;
friend class ClientStateConnecting; friend class ClientStateConnecting;
friend class ClientStateStartSession; friend class ClientStateStartSession;
+2 -2
View File
@@ -544,9 +544,9 @@ ClientStateWaitChooseServer::Process(ClientThread &client)
int retVal = MSG_SOCK_INTERNAL_PENDING; int retVal = MSG_SOCK_INTERNAL_PENDING;
unsigned serverId; unsigned serverId;
if (client.GetSelectedServer(serverid)) if (client.GetSelectedServer(serverId))
{ {
client.UseServer(serverid); client.UseServer(serverId);
client.SetState(ClientStateStartResolve::Instance()); client.SetState(ClientStateStartResolve::Instance());
retVal = MSG_SOCK_SERVER_LIST_DONE; retVal = MSG_SOCK_SERVER_LIST_DONE;
} }