aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2018-06-03 12:14:45 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2018-06-03 12:14:45 +0000
commit4bd91bc4742dbf194dd7a63519aa1ed32e4db47d (patch)
tree46fa0ad2951fd0cd86c3875b9c065a1aebc54217 /docs/examples
parent71c39f29651523ffda10d0abc17f9057f54bd356 (diff)
spelling fixes
Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/Makefile.netware4
-rw-r--r--docs/examples/curlx.c2
-rw-r--r--docs/examples/smtp-mime.c2
-rw-r--r--docs/examples/threaded-shared-conn.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/Makefile.netware b/docs/examples/Makefile.netware
index e75d143d5..9ff6d9498 100644
--- a/docs/examples/Makefile.netware
+++ b/docs/examples/Makefile.netware
@@ -136,7 +136,7 @@ endif
CFLAGS += -align 4
else
# PRELUDE = $(NDK_CLIB)/imports/clibpre.o
- # to avoid the __init_* / __deinit_* whoes don't use prelude from NDK
+ # to avoid the __init_* / __deinit_* woes don't use prelude from NDK
PRELUDE = "$(MWCW_PATH)/libraries/runtime/prelude.obj"
# CFLAGS += -include "$(MWCW_PATH)/headers/nlm_clib_prefix.h"
CFLAGS += -align 1
@@ -159,7 +159,7 @@ else
endif
else
# PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o
- # to avoid the __init_* / __deinit_* whoes don't use prelude from NDK
+ # to avoid the __init_* / __deinit_* woes don't use prelude from NDK
# http://www.gknw.net/development/mk_nlm/gcc_pre.zip
PRELUDE = $(NDK_ROOT)/pre/prelude.o
CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c
index 3e47b460a..141f5a88a 100644
--- a/docs/examples/curlx.c
+++ b/docs/examples/curlx.c
@@ -159,7 +159,7 @@ static char *ia5string(ASN1_IA5STRING *ia5)
return tmp;
}
-/* A conveniance routine to get an access URI. */
+/* A convenience routine to get an access URI. */
static unsigned char *my_get_ext(X509 *cert, const int type,
int extensiontype)
{
diff --git a/docs/examples/smtp-mime.c b/docs/examples/smtp-mime.c
index dcd867f68..35997fa0e 100644
--- a/docs/examples/smtp-mime.c
+++ b/docs/examples/smtp-mime.c
@@ -107,7 +107,7 @@ int main(void)
/* Build the mime message. */
mime = curl_mime_init(curl);
- /* The inline part is an alterative proposing the html and the text
+ /* The inline part is an alternative proposing the html and the text
versions of the e-mail. */
alt = curl_mime_init(curl);
diff --git a/docs/examples/threaded-shared-conn.c b/docs/examples/threaded-shared-conn.c
index ab5ac406d..e238b952e 100644
--- a/docs/examples/threaded-shared-conn.c
+++ b/docs/examples/threaded-shared-conn.c
@@ -107,7 +107,7 @@ static void *run_thread(void *ptr)
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_db);
curl_easy_perform(curl); /* ignores error */
curl_easy_cleanup(curl);
- fprintf(stderr, "Tread %d transfer %d\n", u->threadno, i);
+ fprintf(stderr, "Thread %d transfer %d\n", u->threadno, i);
}
return NULL;