From 4bd91bc4742dbf194dd7a63519aa1ed32e4db47d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 3 Jun 2018 12:14:45 +0000 Subject: spelling fixes Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL. --- docs/examples/Makefile.netware | 4 ++-- docs/examples/curlx.c | 2 +- docs/examples/smtp-mime.c | 2 +- docs/examples/threaded-shared-conn.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/examples') 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; -- cgit v1.2.3