On Mon, Feb 04, 2008 at 06:45:41PM -0500, Justin Piszcz wrote:
> I tried to paste set -a | grep -i regex but I miss-pasted and it asked me
> for the password, I hit control-c to get out of it and...
Here is the patch.
--
Alexander.
Index: parsecmd.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/parsecmd.cc,v
retrieving revision 1.14
diff -u -p -r1.14 parsecmd.cc
--- parsecmd.cc 24 Oct 2007 14:38:49 -0000 1.14
+++ parsecmd.cc 5 Feb 2008 15:45:36 -0000
@@ -52,12 +52,7 @@ CmdExec::parse_result CmdExec::parse_one
else
args=new ArgV;
- if(output)
- {
- delete output;
- output=0;
- }
-
+ output=0;
char redir_type=0;
background=0;