mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
fix a winetest failure
svn path=/trunk/; revision=38470
This commit is contained in:
@@ -163,6 +163,12 @@ setsockopt(IN SOCKET s,
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
if(IS_INTRESOURCE(optval))
|
||||
{
|
||||
SetLastError(WSAEFAULT);
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
||||
if (!ReferenceProviderByHandle((HANDLE)s, &Provider))
|
||||
{
|
||||
WSASetLastError(WSAENOTSOCK);
|
||||
|
||||
Reference in New Issue
Block a user