mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -05:00
fixed compilation on windows
This commit is contained in:
parent
9684b2ed94
commit
5fe39248f8
@ -50,7 +50,7 @@ void RsFdBinInterface::setSocket(int s)
|
||||
#else
|
||||
// On windows, there is no way to determine whether a socket is blobking or not, so we set it to non blocking whatsoever.
|
||||
unsigned long int on = 1;
|
||||
ret = ioctlsocket(fd[STDOUT_FILENO], FIONBIO, &on);
|
||||
ioctlsocket(s, FIONBIO, &on);
|
||||
#endif
|
||||
|
||||
mCLintConnt = s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user