mirror of
https://github.com/curl/curl.git
synced 2026-08-05 22:46:13 +03: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
1 changed files with 4 additions and 4 deletions
|
|
@ -1348,14 +1348,14 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
|
|||
result = imap_state_login_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_FETCH:
|
||||
result = imap_state_fetch_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_SELECT:
|
||||
result = imap_state_select_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_FETCH:
|
||||
result = imap_state_fetch_resp(conn, imapcode, imapc->state);
|
||||
break;
|
||||
|
||||
case IMAP_LOGOUT:
|
||||
/* fallthrough, just stop! */
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue