Commit ee2281d3 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.

parent a14d34b2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment