wininet: Avoid a crash with traces on.
This commit is contained in:
parent
af4c428a9a
commit
26b38dc503
|
@ -937,7 +937,7 @@ BOOL WINAPI FtpGetCurrentDirectoryW(HINTERNET hFtpSession, LPWSTR lpszCurrentDir
|
||||||
LPWININETAPPINFOW hIC = NULL;
|
LPWININETAPPINFOW hIC = NULL;
|
||||||
BOOL r = FALSE;
|
BOOL r = FALSE;
|
||||||
|
|
||||||
TRACE("len(%d)\n", *lpdwCurrentDirectory);
|
TRACE("%p %p %p\n", hFtpSession, lpszCurrentDirectory, lpdwCurrentDirectory);
|
||||||
|
|
||||||
lpwfs = (LPWININETFTPSESSIONW) WININET_GetObject( hFtpSession );
|
lpwfs = (LPWININETFTPSESSIONW) WININET_GetObject( hFtpSession );
|
||||||
if (NULL == lpwfs)
|
if (NULL == lpwfs)
|
||||||
|
@ -1015,8 +1015,6 @@ static BOOL FTP_FtpGetCurrentDirectoryW(LPWININETFTPSESSIONW lpwfs, LPWSTR lpszC
|
||||||
LPWININETAPPINFOW hIC = NULL;
|
LPWININETAPPINFOW hIC = NULL;
|
||||||
DWORD bSuccess = FALSE;
|
DWORD bSuccess = FALSE;
|
||||||
|
|
||||||
TRACE("len(%d)\n", *lpdwCurrentDirectory);
|
|
||||||
|
|
||||||
/* Clear any error information */
|
/* Clear any error information */
|
||||||
INTERNET_SetLastError(0);
|
INTERNET_SetLastError(0);
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
* Add W-function tests.
|
* Add W-function tests.
|
||||||
* Add missing function tests:
|
* Add missing function tests:
|
||||||
* FtpFindFirstFile
|
* FtpFindFirstFile
|
||||||
* FtpGetCurrentDirectory
|
|
||||||
* FtpGetFileSize
|
* FtpGetFileSize
|
||||||
* FtpSetCurrentDirectory
|
* FtpSetCurrentDirectory
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue