diff options
author | Steve Holme <steve_holme@hotmail.com> | 2012-12-29 19:39:06 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2012-12-29 19:39:06 +0000 |
commit | 2424b7ab1b4fb4fa7b663595c73305db2898da38 (patch) | |
tree | 0c26878929a7cec51b3357aec616a71a96534ed5 | |
parent | c43af566fafce56a9e962a9009ab84118e3f2390 (diff) |
pop3.c: Removed unnecessary POP3_STOP state changes
Removed unnecessary state changes in pop3_state_starttls_resp()
following previous fix in IMAP module.
-rw-r--r-- | lib/pop3.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/pop3.c b/lib/pop3.c index f412c39ec..1972d6311 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -562,7 +562,6 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn, if(data->set.use_ssl != CURLUSESSL_TRY) { failf(data, "STARTTLS denied. %c", pop3code); result = CURLE_USE_SSL_FAILED; - state(conn, POP3_STOP); } else result = pop3_state_capa(conn); @@ -574,10 +573,6 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn, pop3_to_pop3s(conn); result = pop3_state_capa(conn); } - else { - /* End of connect phase */ - state(conn, POP3_STOP); - } } return result; |