aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/Makefile.example8
-rw-r--r--docs/examples/chkspeed.c4
-rw-r--r--docs/examples/cookie_interface.c6
-rw-r--r--docs/examples/curlx.c2
-rw-r--r--docs/examples/ftpgetinfo.c4
-rw-r--r--docs/examples/multi-double.c8
-rw-r--r--docs/examples/multi-post.c2
-rw-r--r--docs/examples/sampleconv.c2
8 files changed, 18 insertions, 18 deletions
diff --git a/docs/examples/Makefile.example b/docs/examples/Makefile.example
index 7afe04cf6..5d9b7c9ca 100644
--- a/docs/examples/Makefile.example
+++ b/docs/examples/Makefile.example
@@ -1,8 +1,8 @@
#############################################################################
-# _ _ ____ _
-# Project ___| | | | _ \| |
-# / __| | | | |_) | |
-# | (__| |_| | _ <| |___
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# $Id$
diff --git a/docs/examples/chkspeed.c b/docs/examples/chkspeed.c
index 7d2a3da61..9eacd65f9 100644
--- a/docs/examples/chkspeed.c
+++ b/docs/examples/chkspeed.c
@@ -40,7 +40,7 @@
static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data)
{
/* we are not interested in the downloaded bytes itself,
- so we only return the size we would have saved ... */
+ so we only return the size we would have saved ... */
return (size_t)(size * nmemb);
}
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
for (argc--, argv++; *argv; argc--, argv++) {
if (strncasecmp(*argv, "-", 1) == 0) {
if (strncasecmp(*argv, "-H", 2) == 0) {
- fprintf(stderr,
+ fprintf(stderr,
"\rUsage: %s [-m=1|2|5|10|20|50|100] [-t] [-x] [url]\n",
appname);
exit(1);
diff --git a/docs/examples/cookie_interface.c b/docs/examples/cookie_interface.c
index 51b32428d..27bfa3932 100644
--- a/docs/examples/cookie_interface.c
+++ b/docs/examples/cookie_interface.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * This example shows usage of simple cookie interface.
+ * This example shows usage of simple cookie interface.
*/
#include <stdio.h>
@@ -80,7 +80,7 @@ main(void)
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
if (res != CURLE_OK) {
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
- return 1;
+ return 1;
}
/* HTTP-header style cookie */
@@ -90,7 +90,7 @@ main(void)
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
if (res != CURLE_OK) {
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
- return 1;
+ return 1;
}
print_cookies(curl);
diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c
index 9b1c29158..62bdfe405 100644
--- a/docs/examples/curlx.c
+++ b/docs/examples/curlx.c
@@ -115,7 +115,7 @@ static const char *curlx_usage[]={
*/
-/*
+/*
* We use this ZERO_NULL to avoid picky compiler warnings,
* when assigning a NULL pointer to a function pointer var.
*/
diff --git a/docs/examples/ftpgetinfo.c b/docs/examples/ftpgetinfo.c
index a0af09bb3..336cc79dd 100644
--- a/docs/examples/ftpgetinfo.c
+++ b/docs/examples/ftpgetinfo.c
@@ -23,7 +23,7 @@
static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data)
{
/* we are not interested in the headers itself,
- so we only return the size we would have saved ... */
+ so we only return the size we would have saved ... */
return (size_t)(size * nmemb);
}
@@ -45,7 +45,7 @@ int main(void)
/* No download if the file */
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
/* Ask for filetime */
- curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
+ curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
/* No header output: TODO 14.1 http-style HEAD output for ftp */
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
curl_easy_setopt(curl, CURLOPT_HEADER, 0L);
diff --git a/docs/examples/multi-double.c b/docs/examples/multi-double.c
index 0a4cde855..2fb6973bb 100644
--- a/docs/examples/multi-double.c
+++ b/docs/examples/multi-double.c
@@ -1,8 +1,8 @@
/*****************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* $Id$
diff --git a/docs/examples/multi-post.c b/docs/examples/multi-post.c
index 18973a94a..91669aa51 100644
--- a/docs/examples/multi-post.c
+++ b/docs/examples/multi-post.c
@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
struct curl_slist *headerlist=NULL;
static const char buf[] = "Expect:";
- /* Fill in the file upload field. This makes libcurl load data from
+ /* Fill in the file upload field. This makes libcurl load data from
the given file name when curl_easy_perform() is called. */
curl_formadd(&formpost,
&lastptr,
diff --git a/docs/examples/sampleconv.c b/docs/examples/sampleconv.c
index 89cfb933e..8ed2b3b16 100644
--- a/docs/examples/sampleconv.c
+++ b/docs/examples/sampleconv.c
@@ -9,7 +9,7 @@
*/
/*
This is a simple example showing how a program on a non-ASCII platform
- would invoke callbacks to do its own codeset conversions instead of
+ would invoke callbacks to do its own codeset conversions instead of
using the built-in iconv functions in libcurl.
The IBM-1047 EBCDIC codeset is used for this example but the code