From b482417ac444fa086ec2a3d177ec064c4f71bf1a Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 9 Mar 2013 12:10:01 +0000 Subject: email: Updated the function descriptions for the logout / quit functions Updated the function description comments following commit 4838d196fdbf. --- lib/imap.c | 5 +---- lib/pop3.c | 4 +--- lib/smtp.c | 4 +--- 3 files changed, 3 insertions(+), 10 deletions(-) (limited to 'lib') 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) { -- cgit v1.2.3