memcpy(pv, "gif87a", 6);
prot_read += *pcbRead = cb;
return S_OK;
- }if(prot_state == 4) {
+ }
+
+ if(prot_state == 4) {
*pcbRead = 0;
return S_FALSE;
}
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);