From f7df67cff0a756eefc8daea36e6468df694a43d0 Mon Sep 17 00:00:00 2001 From: klemens Date: Sun, 26 Mar 2017 17:02:22 +0200 Subject: spelling fixes Closes #1356 --- docs/examples/Makefile.netware | 6 +++--- docs/examples/cacertinmem.c | 4 ++-- docs/examples/curlx.c | 2 +- docs/examples/externalsocket.c | 4 ++-- docs/examples/fopen.c | 10 +++++----- docs/examples/imap-copy.c | 4 ++-- docs/examples/imap-create.c | 4 ++-- docs/examples/imap-delete.c | 4 ++-- docs/examples/imap-examine.c | 4 ++-- docs/examples/imap-search.c | 4 ++-- docs/examples/pop3-top.c | 4 ++-- docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 | 4 ++-- 12 files changed, 27 insertions(+), 27 deletions(-) (limited to 'docs') diff --git a/docs/examples/Makefile.netware b/docs/examples/Makefile.netware index 9fe9db453..e75d143d5 100644 --- a/docs/examples/Makefile.netware +++ b/docs/examples/Makefile.netware @@ -64,7 +64,7 @@ DESCR = curl ($(LIBARCH)) MTSAFE = YES STACK = 8192 SCREEN = Example Program -# Comment the line below if you dont want to load protected automatically. +# Comment the line below if you don't want to load protected automatically. # LDRING = 3 # Uncomment the next line to enable linking with POSIX semantics. @@ -136,7 +136,7 @@ endif CFLAGS += -align 4 else # PRELUDE = $(NDK_CLIB)/imports/clibpre.o - # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK + # to avoid the __init_* / __deinit_* whoes 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 dont use prelude from NDK + # to avoid the __init_* / __deinit_* whoes 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/cacertinmem.c b/docs/examples/cacertinmem.c index ace58e48e..e3c49e02c 100644 --- a/docs/examples/cacertinmem.c +++ b/docs/examples/cacertinmem.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -133,7 +133,7 @@ int main(void) printf("*** transfer failed ***\n"); /* second try: retrieve page using cacerts' certificate -> will succeed - * load the certificate by installing a function doing the nescessary + * load the certificate by installing a function doing the necessary * "modifications" to the SSL CONTEXT just before link init */ rv=curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function); diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index cd1677af3..db0ed24d9 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -101,7 +101,7 @@ static const char *curlx_usage[]={ "usage: curlx args\n", " -p12 arg - tia file ", - " -envpass arg - environement variable which content the tia private" + " -envpass arg - environment variable which content the tia private" " key password", " -out arg - output file (response)- default stdout", " -in arg - input file (request)- default stdin", diff --git a/docs/examples/externalsocket.c b/docs/examples/externalsocket.c index 918f08218..80e6598fa 100644 --- a/docs/examples/externalsocket.c +++ b/docs/examples/externalsocket.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -38,7 +38,7 @@ #include /* socket types */ #include /* socket definitions */ #include -#include /* inet (3) funtions */ +#include /* inet (3) functions */ #include /* misc. Unix functions */ #endif diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 7435264a7..1822b3a09 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -10,7 +10,7 @@ * instead of (only) local files. Local files (ie those that can be directly * fopened) will drop back to using the underlying clib implementations * - * See the main() function at the bottom that shows an app that retrives from a + * See the main() function at the bottom that shows an app that retrieves from a * specified url using fgets() and fread() and saves as two output files. * * Copyright (c) 2003 Simtec Electronics @@ -345,7 +345,7 @@ size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file) fill_buffer(file, want); - /* check if theres data in the buffer - if not fill_buffer() + /* check if there's data in the buffer - if not fill_buffer() * either errored or EOF */ if(!file->buffer_pos) return 0; @@ -384,7 +384,7 @@ char *url_fgets(char *ptr, size_t size, URL_FILE *file) case CFTYPE_CURL: fill_buffer(file, want); - /* check if theres data in the buffer - if not fill either errored or + /* check if there's data in the buffer - if not fill either errored or * EOF */ if(!file->buffer_pos) return NULL; @@ -404,7 +404,7 @@ char *url_fgets(char *ptr, size_t size, URL_FILE *file) /* xfer data to caller */ memcpy(ptr, file->buffer, want); - ptr[want]=0;/* allways null terminate */ + ptr[want]=0;/* always null terminate */ use_buffer(file, want); @@ -450,7 +450,7 @@ void url_rewind(URL_FILE *file) #define FREADFILE "fread.test" #define REWINDFILE "rewind.test" -/* Small main program to retrive from a url using fgets and fread saving the +/* Small main program to retrieve from a url using fgets and fread saving the * output to two test files (note the fgets method will corrupt binary files if * they contain 0 chars */ int main(int argc, char *argv[]) diff --git a/docs/examples/imap-copy.c b/docs/examples/imap-copy.c index 4c3b640b9..1ef43f893 100644 --- a/docs/examples/imap-copy.c +++ b/docs/examples/imap-copy.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ int main(void) /* This is source mailbox folder to select */ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX"); - /* Set the COPY command specifing the message ID and destination folder */ + /* Set the COPY command specifying the message ID and destination folder */ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "COPY 1 FOLDER"); /* Note that to perform a move operation you will need to perform the copy, diff --git a/docs/examples/imap-create.c b/docs/examples/imap-create.c index 8f72cb8fe..6f04453b2 100644 --- a/docs/examples/imap-create.c +++ b/docs/examples/imap-create.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ int main(void) /* This is just the server URL */ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); - /* Set the CREATE command specifing the new folder name */ + /* Set the CREATE command specifying the new folder name */ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "CREATE FOLDER"); /* Perform the custom request */ diff --git a/docs/examples/imap-delete.c b/docs/examples/imap-delete.c index bd9d1a490..cf1ae0bbf 100644 --- a/docs/examples/imap-delete.c +++ b/docs/examples/imap-delete.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ int main(void) /* This is just the server URL */ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); - /* Set the DELETE command specifing the existing folder */ + /* Set the DELETE command specifying the existing folder */ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE FOLDER"); /* Perform the custom request */ diff --git a/docs/examples/imap-examine.c b/docs/examples/imap-examine.c index 4287f8a10..b89e9dc6d 100644 --- a/docs/examples/imap-examine.c +++ b/docs/examples/imap-examine.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ int main(void) /* This is just the server URL */ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); - /* Set the EXAMINE command specifing the mailbox folder */ + /* Set the EXAMINE command specifying the mailbox folder */ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "EXAMINE OUTBOX"); /* Perform the custom request */ diff --git a/docs/examples/imap-search.c b/docs/examples/imap-search.c index f1261e1ec..427dcc905 100644 --- a/docs/examples/imap-search.c +++ b/docs/examples/imap-search.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -48,7 +48,7 @@ int main(void) /* This is mailbox folder to select */ curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX"); - /* Set the SEARCH command specifing what we want to search for. Note that + /* Set the SEARCH command specifying what we want to search for. Note that * this can contain a message sequence set and a number of search criteria * keywords including flags such as ANSWERED, DELETED, DRAFT, FLAGGED, NEW, * RECENT and SEEN. For more information about the search criteria please diff --git a/docs/examples/pop3-top.c b/docs/examples/pop3-top.c index f452b4127..4f5937fd4 100644 --- a/docs/examples/pop3-top.c +++ b/docs/examples/pop3-top.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,7 +21,7 @@ ***************************************************************************/ /* - * POP3 example showing how to retreive only the headers of an e-mail + * POP3 example showing how to retrieve only the headers of an e-mail * */ diff --git a/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 b/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 index 2f71495b7..6a6c57f35 100644 --- a/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -120,7 +120,7 @@ int main(void) rv=curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/"); /* Retrieve page using cacerts' certificate -> will succeed - * load the certificate by installing a function doing the nescessary + * load the certificate by installing a function doing the necessary * "modifications" to the SSL CONTEXT just before link init */ rv=curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, *sslctx_function); -- cgit v1.2.3