From 2831cf5d3e55e73eaa574bc2727f30be49e24dd2 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 7 Feb 2007 13:29:51 +0100 Subject: [PATCH] wininet/ftp: Remove unneeded (double) checks. --- dlls/wininet/ftp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 2f8483864f6..7a4c57a7933 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -556,12 +556,6 @@ BOOL WINAPI FTP_FtpCreateDirectoryW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszDire 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);