aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/imap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 388af0496..75fe3d4a4 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -340,6 +340,13 @@ static int imap_endofresp(struct pingpong *pp, int *resp)
}
}
+ /* Do we have a generic continuation response? */
+ if((len == 3 && !memcmp("+", line, 1)) ||
+ (len >= 2 && !memcmp("+ ", line, 2))) {
+ *resp = '+';
+ return TRUE;
+ }
+
/* Are we processing CAPABILITY command responses? */
if(imapc->state == IMAP_CAPABILITY) {
/* Do we have a valid response? */