imap: Fixed response check for EXPUNGE command

This commit is contained in:
Steve Holme
2013-08-31 10:49:49 +01:00
parent 1ca6ed7b75
commit f3849a7b84
2 changed files with 4 additions and 2 deletions

View File

@@ -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;