mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
imap: Adjusted SELECT and FETCH state order in imap_statemach_act()
Exchanged the position of these states in the switch statements to match the state enum, execution and function order.
This commit is contained in:
parent
015ceb4706
commit
6f02209cc8
@ -1348,14 +1348,14 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
|
|||||||
result = imap_state_login_resp(conn, imapcode, imapc->state);
|
result = imap_state_login_resp(conn, imapcode, imapc->state);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IMAP_FETCH:
|
|
||||||
result = imap_state_fetch_resp(conn, imapcode, imapc->state);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case IMAP_SELECT:
|
case IMAP_SELECT:
|
||||||
result = imap_state_select_resp(conn, imapcode, imapc->state);
|
result = imap_state_select_resp(conn, imapcode, imapc->state);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case IMAP_FETCH:
|
||||||
|
result = imap_state_fetch_resp(conn, imapcode, imapc->state);
|
||||||
|
break;
|
||||||
|
|
||||||
case IMAP_LOGOUT:
|
case IMAP_LOGOUT:
|
||||||
/* fallthrough, just stop! */
|
/* fallthrough, just stop! */
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user