=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: iphlpapi/tests: Fix usage of broken ().

Alexandre Julliard julliard at winehq.org
Wed Jan 18 16:34:19 CST 2017


Module: wine
Branch: master
Commit: 4712f24060cd90b7f2b303e548cdf53cfc063a1e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4712f24060cd90b7f2b303e548cdf53cfc063a1e

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 18 18:29:59 2017 +0100

iphlpapi/tests: Fix usage of broken().

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 );




More information about the wine-cvs mailing list