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
1 changed files with 3 additions and 3 deletions

View File

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