aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-09 12:10:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-09 12:10:01 +0000
commitb482417ac444fa086ec2a3d177ec064c4f71bf1a (patch)
tree4a42e98658b58d0bfff1b86d8d5fa29fbd37d49a
parent4838d196fdbfcc3e8779ff4416ec5d0d35561172 (diff)
email: Updated the function descriptions for the logout / quit functions
Updated the function description comments following commit 4838d196fdbf.
-rw-r--r--lib/imap.c5
-rw-r--r--lib/pop3.c4
-rw-r--r--lib/smtp.c4
3 files changed, 3 insertions, 10 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 73ace8576..05a50b0ad 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -1940,10 +1940,7 @@ static CURLcode imap_do(struct connectdata *conn, bool *done)
*
* imap_logout()
*
- * This should be called before calling sclose(). We should then wait for the
- * response from the server before returning. The calling code should then try
- * to close the connection.
- *
+ * Performs the logout action prior to sclose() being called.
*/
static CURLcode imap_logout(struct connectdata *conn)
{
diff --git a/lib/pop3.c b/lib/pop3.c
index 88c8f2bc7..9eaa09b6c 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -1461,9 +1461,7 @@ static CURLcode pop3_do(struct connectdata *conn, bool *done)
*
* pop3_quit()
*
- * This should be called before calling sclose(). We should then wait for the
- * response from the server before returning. The calling code should then try
- * to close the connection.
+ * Performs the quit action prior to sclose() be called.
*/
static CURLcode pop3_quit(struct connectdata *conn)
{
diff --git a/lib/smtp.c b/lib/smtp.c
index 8367b8925..bed46a99a 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -1491,9 +1491,7 @@ static CURLcode smtp_do(struct connectdata *conn, bool *done)
*
* smtp_quit()
*
- * This should be called before calling sclose(). We should then wait for the
- * response from the server before returning. The calling code should then try
- * to close the connection.
+ * Performs the quit action prior to sclose() being called.
*/
static CURLcode smtp_quit(struct connectdata *conn)
{