aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-11 20:13:24 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-11 20:15:21 +0100
commitf3c9749a4031d6f08523e973b4367750714508a3 (patch)
tree6ea41129d858ef5ca44115460494765308e41ff6 /lib
parent3f6991766f3e9f112e72802e6d36297415eaf670 (diff)
imap: Fixed response check for LSUB and UID commands
Diffstat (limited to 'lib')
-rw-r--r--lib/imap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 6a3b36449..5011692d1 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -310,7 +310,9 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
strcmp(imap->custom, "SELECT") &&
strcmp(imap->custom, "EXAMINE") &&
strcmp(imap->custom, "SEARCH") &&
- strcmp(imap->custom, "EXPUNGE")))
+ strcmp(imap->custom, "EXPUNGE") &&
+ strcmp(imap->custom, "LSUB") &&
+ strcmp(imap->custom, "UID")))
return FALSE;
break;