imap: Removed unnecessary state change on failure

This commit is contained in:
Steve Holme
2013-02-15 18:33:10 +00:00
parent 154bf3d699
commit 673b7ba80a

View File

@@ -1057,9 +1057,9 @@ static CURLcode imap_state_auth_final_resp(struct connectdata *conn,
failf(data, "Authentication failed: %d", imapcode); failf(data, "Authentication failed: %d", imapcode);
result = CURLE_LOGIN_DENIED; result = CURLE_LOGIN_DENIED;
} }
else
/* End of connect phase */ /* End of connect phase */
state(conn, IMAP_STOP); state(conn, IMAP_STOP);
return result; return result;
} }