diff --git a/lib/imap.c b/lib/imap.c index 13a11d0b014053d5875932d0bbb94f4c3e4c3ffe..a8d95190b6d69418bc11f83024d313a92b746843 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -307,7 +307,8 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len, (strcmp(imap->custom, "STORE") || !imap_matchresp(line, len, "FETCH")) && strcmp(imap->custom, "SELECT") && - strcmp(imap->custom, "EXAMINE"))) + strcmp(imap->custom, "EXAMINE") && + strcmp(imap->custom, "SEARCH"))) return FALSE; break;