mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 23:55:01 -04:00
imap: Introduced the continue response in imap_endofresp()
This commit is contained in:
parent
db20517796
commit
dd561c3834
@ -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? */
|
/* Are we processing CAPABILITY command responses? */
|
||||||
if(imapc->state == IMAP_CAPABILITY) {
|
if(imapc->state == IMAP_CAPABILITY) {
|
||||||
/* Do we have a valid response? */
|
/* Do we have a valid response? */
|
||||||
|
Loading…
Reference in New Issue
Block a user