=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: urlmon/tests: Clarify ok() condition (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 11 11:04:45 CST 2014
Module: wine
Branch: master
Commit: 388ff35a1817975d78a43ea5f355a74a39b8ad86
URL: http://source.winehq.org/git/wine.git/?a=commit;h=388ff35a1817975d78a43ea5f355a74a39b8ad86
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Nov 10 21:06:21 2014 +0100
urlmon/tests: Clarify ok() condition (PVS-Studio).
---
dlls/urlmon/tests/protocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index df3c364..9aadf1e 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -2927,7 +2927,7 @@ static void test_protocol_terminate(IInternetProtocol *protocol)
ok(hres == S_OK, "LockRequest failed: %08x\n", hres);
hres = IInternetProtocol_Read(protocol, buf, 1, &cb);
- ok(hres == test_abort ? S_OK : S_FALSE, "Read failed: %08x\n", hres);
+ ok(hres == (test_abort ? S_OK : S_FALSE), "Read failed: %08x\n", hres);
hres = IInternetProtocol_Terminate(protocol, 0);
ok(hres == S_OK, "Terminate failed: %08x\n", hres);
More information about the wine-cvs
mailing list