From a8a2ca72bd95cc05bb217ddc995eec94f07bb42a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 25 Jan 2009 17:30:14 +0100 Subject: [PATCH] ws2_32/tests: Fix a test failure on WinME. --- dlls/ws2_32/tests/sock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 0b5cb88becc..22455ef0c3e 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -852,7 +852,8 @@ static void Exit (void) ok ( ret == 0, "WSACleanup failed ret = %d GetLastError is %d\n", ret, err); ret = WSACleanup(); err = WSAGetLastError(); - ok ( ret == SOCKET_ERROR && err == WSANOTINITIALISED, + ok ( (ret == SOCKET_ERROR && err == WSANOTINITIALISED) || + broken(ret == 0), /* WinME */ "WSACleanup returned %d GetLastError is %d\n", ret, err); }