mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-10 20:08:31 -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
|
#else
|
||||||
// On windows, there is no way to determine whether a socket is blobking or not, so we set it to non blocking whatsoever.
|
// 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;
|
unsigned long int on = 1;
|
||||||
ret = ioctlsocket(fd[STDOUT_FILENO], FIONBIO, &on);
|
ioctlsocket(s, FIONBIO, &on);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mCLintConnt = s;
|
mCLintConnt = s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user