mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 21:56:40 +00:00
- I hate catching these things as the commit is going out
svn path=/trunk/; revision=48523
This commit is contained in:
parent
17e0e75eb5
commit
8d3e4feb39
|
@ -1944,12 +1944,12 @@ WSPIoctl(IN SOCKET Handle,
|
||||||
}
|
}
|
||||||
*lpErrno = GetSocketInformation(Socket, AFD_INFO_RECEIVE_CONTENT_SIZE, (PULONG)lpvOutBuffer, NULL);
|
*lpErrno = GetSocketInformation(Socket, AFD_INFO_RECEIVE_CONTENT_SIZE, (PULONG)lpvOutBuffer, NULL);
|
||||||
if (*lpErrno != NO_ERROR)
|
if (*lpErrno != NO_ERROR)
|
||||||
|
return SOCKET_ERROR;
|
||||||
|
else
|
||||||
{
|
{
|
||||||
*lpcbBytesReturned = sizeof(ULONG);
|
*lpcbBytesReturned = sizeof(ULONG);
|
||||||
return SOCKET_ERROR;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
*lpErrno = Socket->HelperData->WSHIoctl(Socket->HelperContext,
|
*lpErrno = Socket->HelperData->WSHIoctl(Socket->HelperContext,
|
||||||
Handle,
|
Handle,
|
||||||
|
|
Loading…
Reference in a new issue