mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Windows fix.
This commit is contained in:
parent
77999c7fd0
commit
7a5dc33d67
|
|
@ -972,7 +972,7 @@ int _mosquitto_socket_nonblock(int sock)
|
|||
return 1;
|
||||
}
|
||||
#else
|
||||
opt = 1;
|
||||
unsigned long opt = 1;
|
||||
if(ioctlsocket(sock, FIONBIO, &opt)){
|
||||
COMPAT_CLOSE(sock);
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue