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 commit4b47e6a51d
by mistake. (cherry picked from commite10bc2ec0c
)
This commit is contained in:
parent
320e33ac5a
commit
85fd18ad64
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user