diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-10 22:10:17 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-10 22:10:17 +0000 |
commit | 769c74f4d73a17a60c908e2a879631ea6752a9b7 (patch) | |
tree | 775b69fcd7f58693f4d3946c1b0f9e24ce8d16a5 /pop3.c | |
parent | b1a36249699361fd9b477b96981a3fda416de588 (diff) | |
download | fetchmail-769c74f4d73a17a60c908e2a879631ea6752a9b7.tar.gz fetchmail-769c74f4d73a17a60c908e2a879631ea6752a9b7.tar.bz2 fetchmail-769c74f4d73a17a60c908e2a879631ea6752a9b7.zip |
Skip sending POP3 PASS command when USER command failed.
svn path=/trunk/; revision=4107
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -491,7 +491,8 @@ 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); + if ((ok = gen_transact(sock, "USER %s", ctl->remotename))) + break; #ifdef OPIE_ENABLE /* see RFC1938: A One-Time Password System */ |