wininet: Avoid a crash with traces on.

oldstable
Hans Leidekker 2008-03-24 21:32:36 +01:00 committed by Alexandre Julliard
parent af4c428a9a
commit 26b38dc503
2 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -26,7 +26,6 @@
* Add W-function tests.
* Add missing function tests:
* FtpFindFirstFile
* FtpGetCurrentDirectory
* FtpGetFileSize
* FtpSetCurrentDirectory
*/