winhttp: Fix return code check (PVS-Studio).

This commit is contained in:
Nikolay Sivov 2014-08-16 23:12:51 +04:00 committed by Alexandre Julliard
parent b378baedaa
commit 8fb0fd77e5

View File

@ -3352,7 +3352,7 @@ static HRESULT request_send( struct winhttp_request *request )
{
sa = V_ARRAY( &data );
if ((hr = SafeArrayAccessData( sa, (void **)&ptr )) != S_OK) return hr;
if ((hr = SafeArrayGetUBound( sa, 1, &size ) != S_OK))
if ((hr = SafeArrayGetUBound( sa, 1, &size )) != S_OK)
{
SafeArrayUnaccessData( sa );
return hr;