mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
[MSAFD] Work around regression of CORE-18848 from 0.4.12-dev-693-g2b1f6c8 (#5102)
Fix winetest for ws2_32:sock that crashes on 'test_AcceptEX' by modifying return values of WSPIoctl for 'case SIO_GET_EXTENSION_FUNCTION_POINTER'
This commit is contained in:
parent
5bc045c041
commit
2f43d9c183
1 changed files with 6 additions and 1 deletions
|
@ -2513,7 +2513,12 @@ WSPIoctl(IN SOCKET Handle,
|
|||
*((PVOID *)lpvOutBuffer) = WSPGetAcceptExSockaddrs;
|
||||
cbRet = sizeof(PVOID);
|
||||
Errno = NO_ERROR;
|
||||
Ret = NO_ERROR;
|
||||
/* See CORE-14966 and associated commits.
|
||||
* Original line below was 'Ret = NO_ERROR:'.
|
||||
* This caused winetest ws2_32:sock to hang.
|
||||
* This new Ret value allows the test to complete. */
|
||||
ERR("SIO_GET_EXTENSION_FUNCTION_POINTER UNIMPLEMENTED\n");
|
||||
Ret = SOCKET_ERROR;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue