Author: cgutman
Date: Tue Jul 12 21:46:42 2011
New Revision: 52668
URL:
http://svn.reactos.org/svn/reactos?rev=52668&view=rev
Log:
[WS2_32_WINETEST]
- Fix check to catch WSAEnumProtocols failure
Modified:
trunk/rostests/winetests/ws2_32/sock.c
Modified: trunk/rostests/winetests/ws2_32/sock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/ws2_32/sock.c?r…
==============================================================================
--- trunk/rostests/winetests/ws2_32/sock.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/ws2_32/sock.c [iso-8859-1] Tue Jul 12 21:46:42 2011
@@ -1310,7 +1310,7 @@
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;