about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-05-10 09:24:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-05-10 09:24:09 +0000
commit7d700220cf49f91ba9235cc338570cf9e7bfaafc (patch)
tree9b51f06cb4662f998d45d9e4b75e6656f6c4bccb /Src
parent8ce657c2cbbd194532be36343fd7f1882513541e (diff)
downloadzsh-7d700220cf49f91ba9235cc338570cf9e7bfaafc.tar.gz
zsh-7d700220cf49f91ba9235cc338570cf9e7bfaafc.tar.xz
zsh-7d700220cf49f91ba9235cc338570cf9e7bfaafc.zip
Peter A. Castro: 23408: zftp account handling was broken
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index c150f8b62..8c9cdf735 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -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;