diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-02-10 21:18:30 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-02-10 21:18:30 +0000 |
commit | 85a2e9ec820a8d904d4733f1d84007e806409e10 (patch) | |
tree | eadba81596a84716fcae2c674a09f671193a6a51 /lib/pop3.c | |
parent | 18d1ea45282508825b74ebf6704db812797e553a (diff) |
email: Post STARTLS capability code tidy up (Part One)
Corrected the order of the CAPA / CAPABILITY state machine constants to
match the execution order.
Diffstat (limited to 'lib/pop3.c')
-rw-r--r-- | lib/pop3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index 2b58df9b5..3e541fa86 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -345,9 +345,9 @@ static void state(struct connectdata *conn, pop3state newstate) static const char * const names[] = { "STOP", "SERVERGREET", + "CAPA", "STARTTLS", "UPGRADETLS", - "CAPA", "AUTH_PLAIN", "AUTH_LOGIN", "AUTH_LOGIN_PASSWD", @@ -1185,14 +1185,14 @@ static CURLcode pop3_statemach_act(struct connectdata *conn) result = pop3_state_servergreet_resp(conn, pop3code, pop3c->state); break; - case POP3_STARTTLS: - result = pop3_state_starttls_resp(conn, pop3code, pop3c->state); - break; - case POP3_CAPA: result = pop3_state_capa_resp(conn, pop3code, pop3c->state); break; + case POP3_STARTTLS: + result = pop3_state_starttls_resp(conn, pop3code, pop3c->state); + break; + case POP3_AUTH_PLAIN: result = pop3_state_auth_plain_resp(conn, pop3code, pop3c->state); break; |