On Thu, Oct 11, 2007 at 05:29:36PM +0400, Arkady Sherman wrote:
> I've got a problem when trying to redefine the ftp:proxy and hftp:proxy
Here is the patch for 3.5.14. Please try.
--
Alexander.
Index: NetAccess.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/NetAccess.cc,v
retrieving revision 1.87.2.2
diff -u -p -r1.87.2.2 NetAccess.cc
--- NetAccess.cc 17 Aug 2007 14:54:15 -0000 1.87.2.2
+++ NetAccess.cc 12 Oct 2007 14:07:12 -0000
@@ -394,6 +394,7 @@ void NetAccess::SetProxy(const char *px)
xfree(proxy_port); proxy_port=0;
xfree(proxy_user); proxy_user=0;
xfree(proxy_pass); proxy_pass=0;
+ xfree(proxy_proto); proxy_proto=0;
if(!px)
px="";