From 3bf6ac15e4f498a28ee3e37f72c79642d098f3a2 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 12 Jul 2011 21:46:42 +0000 Subject: [PATCH] [WS2_32_WINETEST] - Fix check to catch WSAEnumProtocols failure svn path=/trunk/; revision=52668 --- rostests/winetests/ws2_32/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rostests/winetests/ws2_32/sock.c b/rostests/winetests/ws2_32/sock.c index 8d195f07eea..663589f56a1 100644 --- a/rostests/winetests/ws2_32/sock.c +++ b/rostests/winetests/ws2_32/sock.c @@ -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;