aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-23 11:34:52 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-23 11:34:52 +0000
commitd415327bd7ae56c57ba24a18af9a402e74138b0e (patch)
tree0f0cb6d3277d507b16297204f23207db1aa2e64c
parent35fb6bee0e3e3a49579f650b897bb1f7a86d157d (diff)
email: Minor tidy up following IMAP changes
-rw-r--r--lib/imap.c4
-rw-r--r--lib/pop3.c4
-rw-r--r--lib/smtp.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 73784019a..1c4f1fa8c 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -1469,7 +1469,7 @@ static CURLcode imap_done(struct connectdata *conn, CURLcode status,
/* Cleanup our per-request based variables */
Curl_safefree(imap->mailbox);
- /* Clear the transfer mode for the next connection */
+ /* Clear the transfer mode for the next request */
imap->transfer = FTPTRANSFER_BODY;
return result;
@@ -1592,7 +1592,7 @@ static CURLcode imap_disconnect(struct connectdata *conn, bool dead_connection)
/* The IMAP session may or may not have been allocated/setup at this
point! */
if(!dead_connection && imapc->pp.conn)
- (void)imap_logout(conn); /* ignore errors on the LOGOUT */
+ (void)imap_logout(conn); /* ignore errors on LOGOUT */
/* Disconnect from the server */
Curl_pp_disconnect(&imapc->pp);
diff --git a/lib/pop3.c b/lib/pop3.c
index 11e13d427..cba4cbd2e 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1401,7 +1401,7 @@ static CURLcode pop3_done(struct connectdata *conn, CURLcode status,
Curl_safefree(pop3c->mailbox);
Curl_safefree(pop3c->custom);
- /* Clear the transfer mode for the next connection */
+ /* Clear the transfer mode for the next request */
pop3->transfer = FTPTRANSFER_BODY;
return result;
@@ -1529,7 +1529,7 @@ static CURLcode pop3_disconnect(struct connectdata *conn,
/* The POP3 session may or may not have been allocated/setup at this
point! */
if(!dead_connection && pop3c->pp.conn)
- (void)pop3_quit(conn); /* ignore errors on the LOGOUT */
+ (void)pop3_quit(conn); /* ignore errors on QUIT */
/* Disconnect from the server */
Curl_pp_disconnect(&pop3c->pp);
diff --git a/lib/smtp.c b/lib/smtp.c
index cad18cdfc..727896e35 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1439,7 +1439,7 @@ static CURLcode smtp_done(struct connectdata *conn, CURLcode status,
result = smtp_block_statemach(conn);
}
- /* Clear the transfer mode for the next connection */
+ /* Clear the transfer mode for the next request */
smtp->transfer = FTPTRANSFER_BODY;
return result;
@@ -1557,7 +1557,7 @@ static CURLcode smtp_disconnect(struct connectdata *conn,
/* The SMTP session may or may not have been allocated/setup at this
point! */
if(!dead_connection && smtpc->pp.conn)
- (void)smtp_quit(conn); /* ignore errors on the LOGOUT */
+ (void)smtp_quit(conn); /* ignore errors on QUIT */
/* Disconnect from the server */
Curl_pp_disconnect(&smtpc->pp);