aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/imap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/imap.c b/lib/imap.c
index adde5423c..19a1b3de9 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -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: