aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-06-03 01:16:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-06-03 01:16:04 +0000
commit6fef88e75d33de13a07030a4a13774e709ef7f20 (patch)
tree12c18c129467a364a7663b438448cac37282e447 /imap.c
parent4a62610b861fabf546e44ee8e744ba05c64271f6 (diff)
downloadfetchmail-6fef88e75d33de13a07030a4a13774e709ef7f20.tar.gz
fetchmail-6fef88e75d33de13a07030a4a13774e709ef7f20.tar.bz2
fetchmail-6fef88e75d33de13a07030a4a13774e709ef7f20.zip
Shrouding fix.
svn path=/trunk/; revision=3622
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 856b1f27..c9792072 100644
--- a/imap.c
+++ b/imap.c
@@ -439,7 +439,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
imap_canonicalize(remotename, ctl->remotename, NAMELEN);
imap_canonicalize(password, ctl->password, PASSWORDLEN);
- strcpy(shroud, ctl->password);
+ strcpy(shroud, password);
ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", remotename, password);
shroud[0] = '\0';
if (ok)