<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
<PRE>
Hi,
<!--+GtkHTML:<DATA class="ClueFlow" key="orig" value="0">-->
we should return NULL if no ftp connection is establised.
</PRE>
I have some tests in the making that will be sent once Wine stops crashing on them.
<PRE>
Changelog
Return NULL handle if no connection is established
Cheers,
Paul.
---
dlls/wininet/<A HREF="ftp://ftp.c">ftp.c</A> | 1 +
<!--+GtkHTML:<DATA class="ClueFlow" clear="orig">--> 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/<A HREF="ftp://ftp.c">ftp.c</A> b/dlls/wininet/<A HREF="ftp://ftp.c">ftp.c</A>
index 3c1ce54..5873ee8 100644
--- a/dlls/wininet/<A HREF="ftp://ftp.c">ftp.c</A>
+++ b/dlls/wininet/<A HREF="ftp://ftp.c">ftp.c</A>
@@ -1801,6 +1801,7 @@ lerror:
{
HeapFree(GetProcessHeap(), 0, lpwfs);
WININET_FreeHandle( handle );
+ handle = NULL;
lpwfs = NULL;
}
--
1.4.1
</PRE>
</BODY>
</HTML>