aboutsummaryrefslogtreecommitdiff
path: root/lib/imap.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-08-31 10:49:49 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-08-31 10:49:49 +0100
commitf3849a7b84f90101ceb1145c69a97ac3048b1fd9 (patch)
tree83a17cd7ba6e3702358044bc148bc5f95c5b991c /lib/imap.c
parent1ca6ed7b75cad03ca47fc28453e0f28123579e05 (diff)
imap: Fixed response check for EXPUNGE command
Diffstat (limited to 'lib/imap.c')
-rw-r--r--lib/imap.c3
1 files changed, 2 insertions, 1 deletions
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;