diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/imap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/imap.c b/lib/imap.c index ff9b62947..66172bddc 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -1306,6 +1306,7 @@ static CURLcode imap_statemach_act(struct connectdata *conn) break; case IMAP_LIST: + case IMAP_SEARCH: result = imap_state_listsearch_resp(conn, imapcode, imapc->state); break; @@ -1329,10 +1330,6 @@ static CURLcode imap_statemach_act(struct connectdata *conn) result = imap_state_append_final_resp(conn, imapcode, imapc->state); break; - case IMAP_SEARCH: - result = imap_state_listsearch_resp(conn, imapcode, imapc->state); - break; - case IMAP_LOGOUT: /* fallthrough, just stop! */ default: |