aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index cab714cb..0b23e8cf 100644
--- a/pop3.c
+++ b/pop3.c
@@ -169,9 +169,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting)
return(PS_AUTHFAIL);
}
- else /* not a CompuServe account */
#endif /* RPA_ENABLE */
- ok = gen_transact(sock, "USER %s", ctl->remotename);
#if OPIE_ENABLE
/* see RFC1938: A One-Time Password System */
@@ -261,6 +259,7 @@ 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);
ok = gen_transact(sock, "PASS %s", ctl->password);
break;