aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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)
{