aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-12-29 19:28:32 +0000
committerSteve Holme <steve_holme@hotmail.com>2012-12-29 19:28:32 +0000
commitc43af566fafce56a9e962a9009ab84118e3f2390 (patch)
tree0e43d0d261b292829e2fd159685808ac4d962b76
parent488245f99c541258ca4b35209e17da69e52e4460 (diff)
smtp.c: Added extra comments around SMTP_STOP state change
Provided extra comments in the SMTP module following previous IMAP fix.
-rw-r--r--lib/smtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index 49bb7979f..b8ab8976c 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1086,6 +1086,7 @@ static CURLcode smtp_state_data_resp(struct connectdata *conn,
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, /* no download */
FIRSTSOCKET, smtp->bytecountp);
+ /* End of do phase */
state(conn, SMTP_STOP);
return CURLE_OK;
@@ -1104,6 +1105,7 @@ static CURLcode smtp_state_postdata_resp(struct connectdata *conn,
if(smtpcode != 250)
result = CURLE_RECV_ERROR;
+ /* End of done phase */
state(conn, SMTP_STOP);
return result;