1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-25 05:31:19 +02:00

Peter A. Castro: 23408: zftp account handling was broken

This commit is contained in:
Peter Stephenson 2007-05-10 09:24:09 +00:00
parent 8ce657c2cb
commit 7d700220cf
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-05-10 Peter Stephenson <pws@csr.com>
* Peter A. Castro: 23408: zftp account handling was broken.
2007-05-08 Peter Stephenson <pws@csr.com>
* Phil Pennock + tweaks: 23398 + more tweaks: README,

View file

@ -2167,7 +2167,7 @@ zftp_login(char *name, char **args, UNUSED(int flags))
else
acct = zfgetinfo("Account: ", 0);
zsfree(ucmd);
ucmd = tricat("ACCT ", passwd, "\r\n");
ucmd = tricat("ACCT ", acct, "\r\n");
if (zfsendcmd(ucmd) == 6)
stopit = 2;
break;