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.
(cherry picked from commit e10bc2ec0c)
This commit is contained in:
Yoichi NAKAYAMA 2012-04-06 00:07:56 +09:00 committed by Marcelo Roberto Jimenez
parent 320e33ac5a
commit 85fd18ad64
2 changed files with 10 additions and 1 deletions

View File

@ -332,6 +332,15 @@ Version 1.8.0
Version 1.6.18
*******************************************************************************
2012-03-26 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
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
4b47e6a51d9c7049a862695b68de75699e023551 by mistake.
2012-04-03 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Compilation optimisation

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);