iphlpapi/tests: Fix usage of broken()

André Hentschel nerv at dawncrow.de
Wed Jan 18 11:29:59 CST 2017


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---

thx slackner

 dlls/iphlpapi/tests/iphlpapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 893e7cd..6991a39 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -1587,7 +1587,7 @@ static void test_AllocateAndGetTcpExTableFromStack(void)
     }
 
     ret = pAllocateAndGetTcpExTableFromStack( (void **)&table_ex, FALSE, GetProcessHeap(), 0, 0 );
-    ok( ret == ERROR_INVALID_PARAMETER || broken(ERROR_NOT_SUPPORTED) /* win2k */, "got %u\n", ret );
+    ok( ret == ERROR_INVALID_PARAMETER || broken(ret == ERROR_NOT_SUPPORTED) /* win2k */, "got %u\n", ret );
 
     ret = pAllocateAndGetTcpExTableFromStack( (void **)&table_ex, FALSE, GetProcessHeap(), 0, AF_INET );
     ok( ret == ERROR_SUCCESS, "got %u\n", ret );
-- 
2.7.4




More information about the wine-patches mailing list