ws2_32/tests: Fix failure on NT4.
This commit is contained in:
parent
69b3782a82
commit
d2065e3dc9
|
@ -2904,7 +2904,7 @@ static void test_AcceptEx(void)
|
|||
}
|
||||
|
||||
iret = connect(acceptor, (struct sockaddr*)&bindAddress, sizeof(bindAddress));
|
||||
ok(iret == SOCKET_ERROR && WSAGetLastError() == WSAEINVAL,
|
||||
ok((iret == SOCKET_ERROR && WSAGetLastError() == WSAEINVAL) || broken(!iret) /* NT4 */,
|
||||
"connecting to acceptex acceptor succeeded? return %d + errno %d\n", iret, WSAGetLastError());
|
||||
if (!iret || (iret == SOCKET_ERROR && WSAGetLastError() == WSAEWOULDBLOCK)) {
|
||||
/* We need to cancel this call, otherwise things fail */
|
||||
|
|
Loading…
Reference in New Issue