diff --git a/lib/imap.c b/lib/imap.c index 7adc5a0bb..8c1ea01d6 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -1626,7 +1626,7 @@ static CURLcode imap_perform(struct connectdata *conn, bool *connected, } else result = imap_select(conn); - + if(result) return result;