Blob Blame History Raw
--- wget-1.10.2/src/ftp.c.218211	2006-12-07 13:51:06.000000000 +0100
+++ wget-1.10.2/src/ftp.c	2006-12-07 13:51:25.000000000 +0100
@@ -1315,6 +1315,7 @@
 
   con->target = lf;
   err = ftp_loop_internal (u, NULL, con);
+  lf = con->target;
   con->target = old_target;
 
   if (err == RETROK)