mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[WS2_32_WINETEST]
- Fix check to catch WSAEnumProtocols failure svn path=/trunk/; revision=52668
This commit is contained in:
parent
716ab53776
commit
3bf6ac15e4
1 changed files with 1 additions and 1 deletions
|
@ -1310,7 +1310,7 @@ static void test_WSASocket(void)
|
||||||
ok(ret != SOCKET_ERROR, "WSAEnumProtocolsA failed, last error is %d\n",
|
ok(ret != SOCKET_ERROR, "WSAEnumProtocolsA failed, last error is %d\n",
|
||||||
WSAGetLastError());
|
WSAGetLastError());
|
||||||
|
|
||||||
if (ret == 0) {
|
if (ret <= 0) {
|
||||||
skip("No protocols enumerated.\n");
|
skip("No protocols enumerated.\n");
|
||||||
HeapFree(GetProcessHeap(), 0, pi);
|
HeapFree(GetProcessHeap(), 0, pi);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue