From 8b11650d62a12a840528b195e25366acf9aa354d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 22 Mar 2001 09:04:14 +0000 Subject: Bug fixes. svn path=/trunk/; revision=3268 --- pop3.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pop3.c') 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: -- cgit v1.2.3