From f3849a7b84f90101ceb1145c69a97ac3048b1fd9 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 31 Aug 2013 10:49:49 +0100 Subject: imap: Fixed response check for EXPUNGE command --- lib/imap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/imap.c') diff --git a/lib/imap.c b/lib/imap.c index 302cc73ca..22a0c4246 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -309,7 +309,8 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len, !imap_matchresp(line, len, "FETCH")) && strcmp(imap->custom, "SELECT") && strcmp(imap->custom, "EXAMINE") && - strcmp(imap->custom, "SEARCH"))) + strcmp(imap->custom, "SEARCH") && + strcmp(imap->custom, "EXPUNGE"))) return FALSE; break; -- cgit v1.2.3