[WS2_32_WINETEST]

- Fix check to catch WSAEnumProtocols failure

svn path=/trunk/; revision=52668
This commit is contained in:
Cameron Gutman 2011-07-12 21:46:42 +00:00
parent 716ab53776
commit 3bf6ac15e4

View file

@ -1310,7 +1310,7 @@ static void test_WSASocket(void)
ok(ret != SOCKET_ERROR, "WSAEnumProtocolsA failed, last error is %d\n",
WSAGetLastError());
if (ret == 0) {
if (ret <= 0) {
skip("No protocols enumerated.\n");
HeapFree(GetProcessHeap(), 0, pi);
return;