Marcus Meissner : wininet: lpwhr cannot be NULL (Coverity 927).
Module: wine Branch: master Commit: 1d362c90a431680c3d311de728e26833377b7d2c URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d362c90a431680c3d311de728... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Wed May 20 09:33:21 2009 +0200 wininet: lpwhr cannot be NULL (Coverity 927). --- dlls/wininet/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 212ff9f..904939a 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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;
participants (1)
-
Alexandre Julliard