On Wed, Jun 01, 2011 at 06:50:53PM +0200, Fernando Gutierrez wrote: > **Problem: > Certain options like cmd:parallel won't work when used with lftp -c > because Reconfig is never called. This happens to all the options
This patch should fix the problem "properly". ResMgr::Set calls Reconfig methods of all ResClient instances automatically. -- Alexander.
Index: CmdExec.h =================================================================== RCS file: /home/lav/cvsroot/lftp/src/CmdExec.h,v retrieving revision 1.74 diff -u -p -r1.74 CmdExec.h --- CmdExec.h 29 Apr 2011 04:58:27 -0000 1.74 +++ CmdExec.h 8 Jun 2011 13:12:54 -0000 @@ -59,7 +59,7 @@ public: extern CmdFeeder *lftp_feeder; // feeder to use after 'lftp' command -class CmdExec : public SessionJob +class CmdExec : public SessionJob, public ResClient { public: // current command data