wininet: lpwhr cannot be NULL (Coverity 927).

This commit is contained in:
Marcus Meissner 2009-05-20 09:33:21 +02:00 committed by Alexandre Julliard
parent 6c35e3f47c
commit 1d362c90a4

View file

@ -3832,7 +3832,7 @@ static BOOL HTTP_OpenConnection(LPWININETHTTPREQW lpwhr)
TRACE("-->\n");
if (NULL == lpwhr || lpwhr->hdr.htype != WH_HHTTPREQ)
if (lpwhr->hdr.htype != WH_HHTTPREQ)
{
INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
goto lend;