mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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",
|
||||
WSAGetLastError());
|
||||
|
||||
if (ret == 0) {
|
||||
if (ret <= 0) {
|
||||
skip("No protocols enumerated.\n");
|
||||
HeapFree(GetProcessHeap(), 0, pi);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue