On Sun, Jun 27, 2010 at 02:04:27AM +0200, Peter Hessler wrote:
> Hi Alexander
> 
> This diff had some issues for me, namely the chunk below.
> 
> :+                       if (line == NULL);
> 
> 
> However I did adjust it and came up with this instead, does it also fix
> the issue for you?

Ugh, that was real sloppy of me. Yes that actually fixes the issue. The fix i 
intended didn't.

Now it just does nothing, like it is supposed to (The second is with your fix 
applied):

$ echo 'mget -r . ' | ftp ftp://ftp.cs.cmu.edu     
Segmentation fault (core dumped) 
$ echo 'mget -r . ' | ./ftp ftp://ftp.cs.cmu.edu
$ 

Reply via email to