Exchanged the position of these states in the switch statements to
match the state enum, execution and function order.
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: