ws2_32/tests: Fix failure on NT4.

This commit is contained in:
Mike Kaplinskiy 2009-08-24 14:10:25 -04:00 committed by Alexandre Julliard
parent 69b3782a82
commit d2065e3dc9

View file

@ -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 */