diff options
Diffstat (limited to 'docs/examples/smtp-mail.c')
-rw-r--r-- | docs/examples/smtp-mail.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/examples/smtp-mail.c b/docs/examples/smtp-mail.c index e402494a7..2c0cfb253 100644 --- a/docs/examples/smtp-mail.c +++ b/docs/examples/smtp-mail.c @@ -133,13 +133,13 @@ int main(void) /* Free the list of recipients */ curl_slist_free_all(recipients); - /* curl will not send the QUIT command until you call cleanup, so you should - * be able to re-use this connection for additional messages (setting - * CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and calling - * curl_easy_perform() again. It may not be a good idea to keep the - * connection open for a very long time though (more than a few minutes - * may result in the server timing out the connection), and you do want to - * clean up in the end. + /* curl will not send the QUIT command until you call cleanup, so you + * should be able to re-use this connection for additional messages + * (setting CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and + * calling curl_easy_perform() again. It may not be a good idea to keep + * the connection open for a very long time though (more than a few + * minutes may result in the server timing out the connection), and you do + * want to clean up in the end. */ curl_easy_cleanup(curl); } |