wininet: Make sure to set LastError when returning FALSE in HttpQueryInfo.
This commit is contained in:
parent
50436da519
commit
2571fa004a
|
@ -1406,9 +1406,8 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
|
|||
requested_index,request_only);
|
||||
|
||||
if (index < 0)
|
||||
return bSuccess;
|
||||
else
|
||||
lphttpHdr = &lpwhr->pCustHeaders[index];
|
||||
break;
|
||||
lphttpHdr = &lpwhr->pCustHeaders[index];
|
||||
|
||||
if (lpdwIndex)
|
||||
(*lpdwIndex)++;
|
||||
|
|
Loading…
Reference in New Issue