mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
imap: Added check for new internal imap response code
This commit is contained in:
parent
37f0caeabd
commit
d23d2f2bd8
@ -1283,6 +1283,10 @@ static CURLcode imap_statemach_act(struct connectdata *conn)
|
|||||||
if(result)
|
if(result)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
/* Was there an error parsing the response line? */
|
||||||
|
if(imapcode == -1)
|
||||||
|
return CURLE_FTP_WEIRD_SERVER_REPLY;
|
||||||
|
|
||||||
if(imapcode) {
|
if(imapcode) {
|
||||||
/* We have now received a full IMAP server response */
|
/* We have now received a full IMAP server response */
|
||||||
switch(imapc->state) {
|
switch(imapc->state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user