mirror of
https://github.com/curl/curl.git
synced 2026-07-24 03:37:16 +03:00
imap: Introduced the continue response in imap_endofresp()
This commit is contained in:
parent
db20517796
commit
dd561c3834
1 changed files with 7 additions and 0 deletions
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue