Paul Vriens : wininet/ftp: Remove unneeded (double) checks.
Module: wine Branch: master Commit: 7a1ef2c1ef46affe1b3c65939e44ca2afa003b74 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a1ef2c1ef46affe1b3c65939e... Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Wed Feb 7 13:30:10 2007 +0100 wininet/ftp: Remove unneeded (double) checks. --- dlls/wininet/ftp.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 775bb88..0ab18c4 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -871,7 +871,7 @@ lend: /*********************************************************************** - * FTP_FtpGetCurrentDirectoryA (Internal) + * FTP_FtpGetCurrentDirectoryW (Internal) * * Retrieves the current directory * @@ -889,12 +889,6 @@ BOOL WINAPI FTP_FtpGetCurrentDirectoryW( TRACE("len(%d)\n", *lpdwCurrentDirectory); - if (NULL == lpwfs || WH_HFTPSESSION != lpwfs->hdr.htype) - { - INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE); - return FALSE; - } - /* Clear any error information */ INTERNET_SetLastError(0);
participants (1)
-
Alexandre Julliard