aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-05-12 06:46:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-05-12 06:46:05 +0000
commitf08d646e1057978fbb2c5867c807b220cc614f65 (patch)
tree976729f1146715a04ee4ea8a91d752f1506cd0f6 /imap.c
parentfd2e0dfee8a1262d1bc45bea76bbd7990d244c15 (diff)
downloadfetchmail-f08d646e1057978fbb2c5867c807b220cc614f65.tar.gz
fetchmail-f08d646e1057978fbb2c5867c807b220cc614f65.tar.bz2
fetchmail-f08d646e1057978fbb2c5867c807b220cc614f65.zip
Fix IMAP password shrouding.
svn path=/trunk/; revision=3306
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index 3dce0a8d..73a68d31 100644
--- a/imap.c
+++ b/imap.c
@@ -414,6 +414,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);
ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", remotename, password);
shroud[0] = '\0';
if (ok)