diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index c2061fb7466..62f60c1b2ec 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -1323,7 +1323,7 @@ BOOL WINAPI FtpDeleteFileW(HINTERNET hFtpSession, LPCWSTR lpszFileName) } else { - r = FTP_FtpDeleteFileW(hFtpSession, lpszFileName); + r = FTP_FtpDeleteFileW(lpwfs, lpszFileName); } lend: