Re: lftp-3.5.2 queue bug
Alexander V. Lukyanov <lav <at> netis.ru>
2006-08-02 13:17:58 GMT
Probably this patch will fix the bug. Please try.
--
Alexander.
Index: CmdExec.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/CmdExec.cc,v
retrieving revision 1.122
diff -u -p -r1.122 CmdExec.cc
--- CmdExec.cc 24 May 2006 07:30:21 -0000 1.122
+++ CmdExec.cc 2 Aug 2006 13:14:34 -0000
<at> <at> -1311,19 +1311,21 <at> <at> void CmdExec::FeedArgV(const ArgV *args,
xfree(cmd);
}
-bool CmdExec::SameQueueParameters(CmdExec *scan)
+bool CmdExec::SameQueueParameters(CmdExec *scan,const char *this_url)
{
- return !strcmp(this->session->GetConnectURL(FA::NO_PATH),
- scan->session->GetConnectURL(FA::NO_PATH))
+ return !strcmp(this_url,scan->session->GetConnectURL(FA::NO_PATH))
&& !xstrcmp(this->slot,scan->slot);
}
/* return the CmdExec containing a queue feeder; create if necessary */
CmdExec *CmdExec::GetQueue(bool create)
{
+ const char *this_url=session->GetConnectURL(FA::NO_PATH);
(Continue reading)