Skip to content
Snippets Groups Projects
Commit dd561c38 authored by Steve Holme's avatar Steve Holme
Browse files

imap: Introduced the continue response in imap_endofresp()

parent db205177
No related branches found
No related tags found
No related merge requests found
......@@ -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? */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment