aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 5cd9685d..959eb76a 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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 */