Fix type of local variable stopSock in RunMiniServer()

The variable is declared as SOCKET, but it is used to
store return value of int receive_from_stopSock(...).
The type was changed in the commit
4b47e6a51d by mistake.
This commit is contained in:
Yoichi NAKAYAMA
2012-04-06 00:07:56 +09:00
parent 777c936f4c
commit e10bc2ec0c
2 changed files with 10 additions and 1 deletions

View File

@@ -377,7 +377,7 @@ static void RunMiniServer(
fd_set rdSet;
SOCKET maxMiniSock;
int ret = 0;
SOCKET stopSock = 0;
int stopSock = 0;
maxMiniSock = 0;
maxMiniSock = max(maxMiniSock, miniSock->miniServerSock4);