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.
This commit is contained in:
parent
777c936f4c
commit
e10bc2ec0c
@ -2,6 +2,15 @@
|
|||||||
Version 1.6.18
|
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>
|
2012-04-03 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||||
|
|
||||||
Compilation optimisation
|
Compilation optimisation
|
||||||
|
@ -377,7 +377,7 @@ static void RunMiniServer(
|
|||||||
fd_set rdSet;
|
fd_set rdSet;
|
||||||
SOCKET maxMiniSock;
|
SOCKET maxMiniSock;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
SOCKET stopSock = 0;
|
int stopSock = 0;
|
||||||
|
|
||||||
maxMiniSock = 0;
|
maxMiniSock = 0;
|
||||||
maxMiniSock = max(maxMiniSock, miniSock->miniServerSock4);
|
maxMiniSock = max(maxMiniSock, miniSock->miniServerSock4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user