Commit 2831cf5d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

wininet/ftp: Remove unneeded (double) checks.

parent 0e8ad301
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment