diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 09:52:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 09:52:01 +0200 |
commit | 161fe384a14873e300f714bae698379e1bf1c498 (patch) | |
tree | 892d3b6a981d0ba847cf91a9f937901b5433fc94 | |
parent | a767662e5b986b9a7f3bda3fdb82f36373222d9f (diff) | |
download | curl-161fe384a14873e300f714bae698379e1bf1c498.tar.gz |
imap: merged two case-branches performing the same action
-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: |