Skip to content

Commit

Permalink
pop3.c: Removed unnecessary POP3_STOP state changes
Browse files Browse the repository at this point in the history
Removed unnecessary state changes in pop3_state_starttls_resp()
following previous fix in IMAP module.
  • Loading branch information
captain-caveman2k committed Dec 29, 2012
1 parent c43af56 commit 2424b7a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/pop3.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn,
if(data->set.use_ssl != CURLUSESSL_TRY) { if(data->set.use_ssl != CURLUSESSL_TRY) {
failf(data, "STARTTLS denied. %c", pop3code); failf(data, "STARTTLS denied. %c", pop3code);
result = CURLE_USE_SSL_FAILED; result = CURLE_USE_SSL_FAILED;
state(conn, POP3_STOP);
} }
else else
result = pop3_state_capa(conn); result = pop3_state_capa(conn);
Expand All @@ -574,10 +573,6 @@ static CURLcode pop3_state_starttls_resp(struct connectdata *conn,
pop3_to_pop3s(conn); pop3_to_pop3s(conn);
result = pop3_state_capa(conn); result = pop3_state_capa(conn);
} }
else {
/* End of connect phase */
state(conn, POP3_STOP);
}
} }


return result; return result;
Expand Down

0 comments on commit 2424b7a

Please sign in to comment.