From 7687e0477c1eb041926710c01f696d09571af637 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 4 Jul 2006 20:06:58 +0200 Subject: [PATCH] wininet: Return NULL handle if no connection is established. --- dlls/wininet/ftp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 7589a787d47..03540e6b6ff 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; }