ws2_32/tests: Fix a test failure on WinME.

This commit is contained in:
Alexandre Julliard 2009-01-25 17:30:14 +01:00
parent 950ad4efdb
commit a8a2ca72bd
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}