Module: wine Branch: refs/heads/master Commit: 7687e0477c1eb041926710c01f696d09571af637 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7687e0477c1eb041926710c0...
Author: Paul Vriens Paul.Vriens@xs4all.nl Date: Tue Jul 4 20:06:58 2006 +0200
wininet: Return NULL handle if no connection is established.
---
dlls/wininet/ftp.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 7589a78..03540e6 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -1577,7 +1577,7 @@ lend: }
/*********************************************************************** - * FTP_FtpRenameFileA (Internal) + * FTP_FtpRenameFileW (Internal) * * Rename a file on the ftp server * @@ -1806,6 +1806,7 @@ lerror: { HeapFree(GetProcessHeap(), 0, lpwfs); WININET_FreeHandle( handle ); + handle = NULL; lpwfs = NULL; }