mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Put some code back which was removed in r43270
svn path=/trunk/; revision=43279
This commit is contained in:
parent
d6a01aca0e
commit
fe8bd01634
1 changed files with 1 additions and 0 deletions
|
@ -1740,6 +1740,7 @@ WSPIoctl(IN SOCKET Handle,
|
|||
*lpErrno = WSAEFAULT;
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
Socket->SharedData.NonBlocking = *((PULONG)lpvInBuffer) ? 1 : 0;
|
||||
return SetSocketInformation(Socket, AFD_INFO_BLOCKING_MODE, (PULONG)lpvInBuffer, NULL);
|
||||
case FIONREAD:
|
||||
if( cbOutBuffer < sizeof(INT) || IS_INTRESOURCE(lpvOutBuffer) )
|
||||
|
|
Loading…
Reference in a new issue