]> granicus.if.org Git - curl/commitdiff
email: Updated the function descriptions for the logout / quit functions
authorSteve Holme <steve_holme@hotmail.com>
Sat, 9 Mar 2013 12:10:01 +0000 (12:10 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 9 Mar 2013 12:10:01 +0000 (12:10 +0000)
Updated the function description comments following commit 4838d196fdbf.

lib/imap.c
lib/pop3.c
lib/smtp.c

index 73ace8576210fdfd13caae84ccbf11cb62af5300..05a50b0ad21c5b58751226d1283b8ea03171ab11 100644 (file)
@@ -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)
 {
index 88c8f2bc76682ce48c758599e1f0f23da2af2075..9eaa09b6c7e93856e10fa4d7aeb0854663e54354 100644 (file)
@@ -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)
 {
index 8367b8925ff5da517d0bc8d0d5b3bf6fa17cd455..bed46a99ab3a71332205528717ed238f8d3a3349 100644 (file)
@@ -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)
 {