1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01: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

@ -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;