09d58c
diff -up netkit-ftp-0.17/ftp/cmds.c.case netkit-ftp-0.17/ftp/cmds.c
09d58c
--- netkit-ftp-0.17/ftp/cmds.c.case	2008-04-23 14:52:59.000000000 +0200
09d58c
+++ netkit-ftp-0.17/ftp/cmds.c	2008-04-23 14:58:07.000000000 +0200
09d58c
@@ -831,8 +831,11 @@ mget(int argc, char **argv)
09d58c
 						tp++;
09d58c
 						tp2++;
09d58c
 					}
09d58c
+					tp = tmpbuf;
09d58c
+				}
09d58c
+				else {
09d58c
+					tp = cp;
09d58c
 				}
09d58c
-				tp = tmpbuf;
09d58c
 			}
09d58c
 			if (ntflag) {
09d58c
 				tp = dotrans(tp);