Module: wine Branch: master Commit: b4e4831d1ba34416230fc5bc516877efea2c93b8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4e4831d1ba34416230fc5bc51...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Oct 9 22:36:49 2013 +0200
wininet: Use BOOL type where appropriate.
---
dlls/wininet/ftp.c | 4 ++-- dlls/wininet/http.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index db64a17..837fcad 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -531,7 +531,7 @@ static BOOL FTP_FtpSetCurrentDirectoryW(ftp_session_t *lpwfs, LPCWSTR lpszDirect { INT nResCode; appinfo_t *hIC = NULL; - DWORD bSuccess = FALSE; + BOOL bSuccess = FALSE;
TRACE("lpszDirectory(%s)\n", debugstr_w(lpszDirectory));
@@ -1046,7 +1046,7 @@ static BOOL FTP_FtpGetCurrentDirectoryW(ftp_session_t *lpwfs, LPWSTR lpszCurrent { INT nResCode; appinfo_t *hIC = NULL; - DWORD bSuccess = FALSE; + BOOL bSuccess = FALSE;
/* Clear any error information */ INTERNET_SetLastError(0); diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index ec746cd..f7d6650 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1451,7 +1451,7 @@ HINTERNET WINAPI HttpOpenRequestA(HINTERNET hHttpSession, { LPWSTR szVerb = NULL, szObjectName = NULL; LPWSTR szVersion = NULL, szReferrer = NULL, *szAcceptTypes = NULL; - HINTERNET rc = FALSE; + HINTERNET rc = NULL;
TRACE("(%p, %s, %s, %s, %s, %p, %08x, %08lx)\n", hHttpSession, debugstr_a(lpszVerb), debugstr_a(lpszObjectName),