Module: wine Branch: master Commit: d2065e3dc9b947f4548bb9108e9b264bde0ddd14 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2065e3dc9b947f4548bb9108e...
Author: Mike Kaplinskiy mike.kaplinskiy@gmail.com Date: Mon Aug 24 14:10:25 2009 -0400
ws2_32/tests: Fix failure on NT4.
---
dlls/ws2_32/tests/sock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index b927868..82c53e2 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -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 */