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

This commit is contained in:
Rob Shearman 2008-10-01 11:20:43 +01:00 committed by Alexandre Julliard
parent a14d34b2f6
commit ee2281d370
1 changed files with 1 additions and 1 deletions

View File

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