[wininet/ftp.c 6/9] Remove unneeded (double) checks
Paul Vriens
paul.vriens.wine at gmail.com
Wed Feb 7 06:30:31 CST 2007
Hi,
There is no need for this check in FTP_FtpGetFileW as it's already
done in FtpGetFileW.
Changelog
Remove unneeded (double) checks
Cheers,
Paul
-------------- next part --------------
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 66f73eb..ae3b0dd 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -1255,8 +1255,6 @@ BOOL WINAPI FTP_FtpGetFileW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszRemoteFile,
TRACE("lpszRemoteFile(%s) lpszNewFile(%s)\n", debugstr_w(lpszRemoteFile), debugstr_w(lpszNewFile));
- assert (WH_HFTPSESSION == lpwfs->hdr.htype);
-
/* Clear any error information */
INTERNET_SetLastError(0);
--
1.4.4.4
More information about the wine-patches
mailing list