mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.
This commit is contained in:
parent
a14d34b2f6
commit
ee2281d370
@ -237,7 +237,7 @@ static void Binding_FinishedDownload(Binding *This, HRESULT hr)
|
||||
IBindStatusCallback_OnProgress(This->pbscb, This->total_read, This->expected_size,
|
||||
BINDSTATUS_ENDDOWNLOADDATA, This->URLName);
|
||||
IBindStatusCallback_OnDataAvailable(This->pbscb, BSCF_LASTDATANOTIFICATION, This->total_read, &fmt, &stg);
|
||||
if (hr)
|
||||
if (hr != S_OK)
|
||||
{
|
||||
WCHAR *pwchError = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user