On Sun, Feb 09, 2003 at 05:24:43AM +0900, TAKAHASHI Tamotsu wrote:
> I'm a lftp lover and I found a bug.
> A bug seems in lftp-2.6.4.

Please try attached patch.

--
   Alexander.                      | http://www.yars.free.net/~lav/  
Index: FileAccess.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/FileAccess.cc,v
retrieving revision 1.105
diff -u -p -r1.105 FileAccess.cc
--- FileAccess.cc       10 Feb 2003 08:22:20 -0000      1.105
+++ FileAccess.cc       10 Feb 2003 09:39:15 -0000
@@ -81,6 +81,7 @@ void FileAccess::Init()
    norest_manual=false;
    location=0;
    suggested_filename=0;
+   array_ptr=array_cnt=0;
 
    url=0;
 
@@ -362,6 +363,7 @@ void FileAccess::Close()
    opt_date=0;
    opt_size=0;
    array_for_info=0;
+   array_ptr=array_cnt=0;
    entity_size=NO_SIZE;
    entity_date=NO_DATE;
    ascii=false;

Reply via email to