mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
smtp.c: Added extra comments around SMTP_STOP state change
Provided extra comments in the SMTP module following previous IMAP fix.
This commit is contained in:
parent
488245f99c
commit
c43af566fa
@ -1086,6 +1086,7 @@ static CURLcode smtp_state_data_resp(struct connectdata *conn,
|
|||||||
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */
|
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */
|
||||||
FIRSTSOCKET, smtp->bytecountp);
|
FIRSTSOCKET, smtp->bytecountp);
|
||||||
|
|
||||||
|
/* End of do phase */
|
||||||
state(conn, SMTP_STOP);
|
state(conn, SMTP_STOP);
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
@ -1104,6 +1105,7 @@ static CURLcode smtp_state_postdata_resp(struct connectdata *conn,
|
|||||||
if(smtpcode != 250)
|
if(smtpcode != 250)
|
||||||
result = CURLE_RECV_ERROR;
|
result = CURLE_RECV_ERROR;
|
||||||
|
|
||||||
|
/* End of done phase */
|
||||||
state(conn, SMTP_STOP);
|
state(conn, SMTP_STOP);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user