Commit 8fb0fd77 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent b378baed
......@@ -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;
......
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