Paul Vriens : wininet/ftp: Remove unneeded (double) checks.
Module: wine Branch: master Commit: 0e8ad3019a325637b682a376be70e29f00736463 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e8ad3019a325637b682a376be... Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Wed Feb 7 13:29:30 2007 +0100 wininet/ftp: Remove unneeded (double) checks. --- dlls/wininet/ftp.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index b26350f..2f84838 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -425,12 +425,6 @@ BOOL WINAPI FTP_FtpSetCurrentDirectoryW( TRACE("lpszDirectory(%s)\n", debugstr_w(lpszDirectory)); - 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