urlmon/tests: Clarify ok() condition (PVS-Studio).
This commit is contained in:
parent
beb72c91af
commit
388ff35a18
|
@ -2927,7 +2927,7 @@ static void test_protocol_terminate(IInternetProtocol *protocol)
|
||||||
ok(hres == S_OK, "LockRequest failed: %08x\n", hres);
|
ok(hres == S_OK, "LockRequest failed: %08x\n", hres);
|
||||||
|
|
||||||
hres = IInternetProtocol_Read(protocol, buf, 1, &cb);
|
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);
|
hres = IInternetProtocol_Terminate(protocol, 0);
|
||||||
ok(hres == S_OK, "Terminate failed: %08x\n", hres);
|
ok(hres == S_OK, "Terminate failed: %08x\n", hres);
|
||||||
|
|
Loading…
Reference in New Issue