aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-03-22 09:04:14 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-03-22 09:04:14 +0000
commit8b11650d62a12a840528b195e25366acf9aa354d (patch)
tree1069692f1283a5ae291892a330e1a6dd2dd77b3e /pop3.c
parent655e43b525bb329203d04e60bc01e7655fb284e5 (diff)
downloadfetchmail-8b11650d62a12a840528b195e25366acf9aa354d.tar.gz
fetchmail-8b11650d62a12a840528b195e25366acf9aa354d.tar.bz2
fetchmail-8b11650d62a12a840528b195e25366acf9aa354d.zip
Bug fixes.
svn path=/trunk/; revision=3268
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 12701e84..718c09c8 100644
--- a/pop3.c
+++ b/pop3.c
@@ -275,7 +275,9 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
/* ordinary validation, no one-time password or RPA */
gen_transact(sock, "USER %s", ctl->remotename);
+ strcpy(shroud, ctl->password);
ok = gen_transact(sock, "PASS %s", ctl->password);
+ shroud[0] = '\0';
break;
case P_APOP: