urlmon/tests: Clarify ok() condition (PVS-Studio).

This commit is contained in:
André Hentschel 2014-11-10 21:06:21 +01:00 committed by Alexandre Julliard
parent beb72c91af
commit 388ff35a18
1 changed files with 1 additions and 1 deletions

View File

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