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;
|
||||
BOOL r = FALSE;
|
||||
|
||||
TRACE("len(%d)\n", *lpdwCurrentDirectory);
|
||||
TRACE("%p %p %p\n", hFtpSession, lpszCurrentDirectory, lpdwCurrentDirectory);
|
||||
|
||||
lpwfs = (LPWININETFTPSESSIONW) WININET_GetObject( hFtpSession );
|
||||
if (NULL == lpwfs)
|
||||
|
@ -1015,8 +1015,6 @@ static BOOL FTP_FtpGetCurrentDirectoryW(LPWININETFTPSESSIONW lpwfs, LPWSTR lpszC
|
|||
LPWININETAPPINFOW hIC = NULL;
|
||||
DWORD bSuccess = FALSE;
|
||||
|
||||
TRACE("len(%d)\n", *lpdwCurrentDirectory);
|
||||
|
||||
/* Clear any error information */
|
||||
INTERNET_SetLastError(0);
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
* Add W-function tests.
|
||||
* Add missing function tests:
|
||||
* FtpFindFirstFile
|
||||
* FtpGetCurrentDirectory
|
||||
* FtpGetFileSize
|
||||
* FtpSetCurrentDirectory
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue