summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-03 10:00:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-03 10:00:07 +0100
commit1b452980af1210f1dce0e3af59c5b698f90afe6a (patch)
treefc7b81b3dbd318e78e4a78ea81e02a65ccea059f
parenta75fdab8d69ab7c8297e376673538cf2df9cf018 (diff)
downloadcurl-1b452980af1210f1dce0e3af59c5b698f90afe6a.tar.gz
fixup too long lines
-rw-r--r--docs/examples/hiperfifo.c4
-rw-r--r--docs/examples/sendrecv.c3
-rw-r--r--docs/examples/smtp-authzid.c14
-rw-r--r--docs/examples/smtp-expn.c8
-rw-r--r--docs/examples/smtp-mail.c14
-rw-r--r--docs/examples/smtp-mime.c14
-rw-r--r--docs/examples/smtp-vrfy.c8
7 files changed, 33 insertions, 32 deletions
diff --git a/docs/examples/hiperfifo.c b/docs/examples/hiperfifo.c
index d6c014109..5af990071 100644
--- a/docs/examples/hiperfifo.c
+++ b/docs/examples/hiperfifo.c
@@ -452,8 +452,8 @@ int main(int argc, char **argv)
event_base_dispatch(g.evbase);
- /* this, of course, will not get called since only way to stop this program is
- via ctrl-C, but it is here to show how cleanup /would/ be done. */
+ /* this, of course, will not get called since only way to stop this program
+ is via ctrl-C, but it is here to show how cleanup /would/ be done. */
clean_fifo(&g);
event_del(&g.timer_event);
event_base_free(g.evbase);
diff --git a/docs/examples/sendrecv.c b/docs/examples/sendrecv.c
index a48cc7892..44741aeba 100644
--- a/docs/examples/sendrecv.c
+++ b/docs/examples/sendrecv.c
@@ -87,7 +87,8 @@ int main(void)
return 1;
}
- /* Extract the socket from the curl handle - we will need it for waiting. */
+ /* Extract the socket from the curl handle - we will need it for
+ waiting. */
res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockfd);
if(res != CURLE_OK) {
diff --git a/docs/examples/smtp-authzid.c b/docs/examples/smtp-authzid.c
index 336b93957..b315b215c 100644
--- a/docs/examples/smtp-authzid.c
+++ b/docs/examples/smtp-authzid.c
@@ -145,13 +145,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);
}
diff --git a/docs/examples/smtp-expn.c b/docs/examples/smtp-expn.c
index ac83f1067..2c11c4f84 100644
--- a/docs/examples/smtp-expn.c
+++ b/docs/examples/smtp-expn.c
@@ -66,10 +66,10 @@ 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 requests. 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
+ /* curl will not send the QUIT command until you call cleanup, so you
+ * should be able to re-use this connection for additional requests. 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);
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);
}
diff --git a/docs/examples/smtp-mime.c b/docs/examples/smtp-mime.c
index 931ad8a9b..564f920d2 100644
--- a/docs/examples/smtp-mime.c
+++ b/docs/examples/smtp-mime.c
@@ -145,13 +145,13 @@ int main(void)
curl_slist_free_all(recipients);
curl_slist_free_all(headers);
- /* 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);
diff --git a/docs/examples/smtp-vrfy.c b/docs/examples/smtp-vrfy.c
index c85082dac..26819a50a 100644
--- a/docs/examples/smtp-vrfy.c
+++ b/docs/examples/smtp-vrfy.c
@@ -66,10 +66,10 @@ 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 requests. 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
+ /* curl will not send the QUIT command until you call cleanup, so you
+ * should be able to re-use this connection for additional requests. 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);