On Thu, Jun 16, 2005 at 12:25:45PM +0200, Thomas Glanzmann wrote:
> > Set xfer:max-redirections to some value > 0, and lftp will handle 
> > redirections
> > just fine.
>
> just tried that and it doesn't work for bookmarks: See the example on

This patch should fix it.

--
   Alexander.
Index: CmdExec.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/CmdExec.cc,v
retrieving revision 1.108
diff -u -p -r1.108 CmdExec.cc
--- CmdExec.cc  11 May 2004 07:31:48 -0000      1.108
+++ CmdExec.cc  16 Jun 2005 10:34:43 -0000
@@ -407,6 +407,7 @@ int CmdExec::Do()
                     Roll(session);
                     return MOVED;
                  }
+                 exit_code=0;
                  builtin=BUILTIN_NONE;
                  char *cmd=string_alloca(6+3+2*strlen(loc));
                  strcpy(cmd,"open \"");

Reply via email to