]> granicus.if.org Git - curl/commitdiff
spelling fixes
authorViktor Szakats <vszakats@users.noreply.github.com>
Sun, 3 Jun 2018 12:14:45 +0000 (12:14 +0000)
committerViktor Szakats <vszakats@users.noreply.github.com>
Sun, 3 Jun 2018 12:14:45 +0000 (12:14 +0000)
Detected using the `codespell` tool (version 1.13.0).

Also secure and fix an URL.

22 files changed:
.travis.yml
docs/MAIL-ETIQUETTE
docs/examples/Makefile.netware
docs/examples/curlx.c
docs/examples/smtp-mime.c
docs/examples/threaded-shared-conn.c
include/curl/typecheck-gcc.h
lib/Makefile.netware
lib/curl_fnmatch.c
lib/easy.c
lib/file.c
lib/multi.c
lib/telnet.c
lib/urldata.h
packages/vms/build_gnv_curl_pcsi_desc.com
packages/vms/setup_gnv_curl_build.com
projects/build-openssl.bat
projects/wolfssl_options.h
src/Makefile.netware
tests/data/test851
tests/server/rtspd.c
tests/server/sws.c

index 6952f704f46d27d42d0d5c1342fea2a6f7bdc9b5..4d3b6caeeec926d9c9974e33a96c56b4b57a932e 100644 (file)
@@ -34,7 +34,7 @@ addons:
             - libssh-dev
             - krb5-user
             - autopoint  # for libpsl that needs autoreconf that uses gettext that needs it
-            - libunistring-dev # for libidn2 neeed by libpsl
+            - libunistring-dev # for libidn2 needed by libpsl
             - libnss3-dev
 
 matrix:
index effdcce217c3b68b4af5cb2d58a0423d4763a6df..07660a001d433befd6760b52c653932672d6bd43 100644 (file)
@@ -180,7 +180,7 @@ MAIL ETIQUETTE
   encoded HTTP Basic auth headers.
 
   This public nature of the curl mailing lists makes automatically inserted mail
-  footers about mails being "private" or "only meant for the receipient" or
+  footers about mails being "private" or "only meant for the recipient" or
   similar even more silly than usual. Because they are absolutely not private
   when sent to a public mailing list.
 
index e75d143d57f5d71beaacfffe00878851ab6d4321..9ff6d9498b5bf46b14e8147f753620e10ecb5d52 100644 (file)
@@ -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
index 3e47b460a2f623e1a2f303302b1d27f2372e5e1b..141f5a88ae2c7627e2dd569a7f2f3dc6bdcc38fe 100644 (file)
@@ -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)
 {
index dcd867f684675f3fc0e3e5cb8a14ead7c6593af8..35997fa0ed19605c99bb339d922afbbcf349929e 100644 (file)
@@ -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);
 
index ab5ac406dd06241c9832f0a380748c9115a05644..e238b952e1f1e43546cafb8499205af4ca89ab50 100644 (file)
@@ -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;
index 3a0f253f6117c9eac885154e547ac07fde249712..a6f63861404471362841dbbdd2e66287e7474c2d 100644 (file)
@@ -428,7 +428,7 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_off_t,
  * == or whatsoever.
  */
 
-/* XXX: should evaluate to true iff expr is a pointer */
+/* XXX: should evaluate to true if expr is a pointer */
 #define _curl_is_any_ptr(expr)                                                \
   (sizeof(expr) == sizeof(void *))
 
index f4b6528eb95fde42a66ef5e7b67068a981996342..2b392f3f4e1460d3395d9296fd477c395475392c 100644 (file)
@@ -166,7 +166,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
@@ -192,7 +192,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
index e8aff67615c3083c717efcefbaed94b2dac10e49..fbfd85c438deb973a2ea40be59bf1cb61464d38f 100644 (file)
@@ -37,7 +37,7 @@
  *
  * Make this function match POSIX. Test 1307 includes a set of test patterns
  * that returns different results with a POSIX fnmatch() than with this
- * implemenation and this is considered a bug where POSIX is the guiding
+ * implementation and this is considered a bug where POSIX is the guiding
  * light.
  */
 
index 6b914353de6cb704b22225ec201f971629273615..bf85075e1b41e2201238e2b7fb686f7a9dbfa039 100644 (file)
@@ -113,7 +113,7 @@ static CURLcode win32_init(void)
   res = WSAStartup(wVersionRequested, &wsaData);
 
   if(res != 0)
-    /* Tell the user that we couldn't find a useable */
+    /* Tell the user that we couldn't find a usable */
     /* winsock.dll.     */
     return CURLE_FAILED_INIT;
 
@@ -125,7 +125,7 @@ static CURLcode win32_init(void)
 
   if(LOBYTE(wsaData.wVersion) != LOBYTE(wVersionRequested) ||
      HIBYTE(wsaData.wVersion) != HIBYTE(wVersionRequested) ) {
-    /* Tell the user that we couldn't find a useable */
+    /* Tell the user that we couldn't find a usable */
 
     /* winsock.dll. */
     WSACleanup();
index db04cc2daf79939182662865d7250e1d4c96352b..988bc744090fbfc83c7a9d184146b7fb1969edfd 100644 (file)
@@ -461,7 +461,7 @@ static CURLcode file_do(struct connectdata *conn, bool *done)
     return result;
 
   /* Adjust the start offset in case we want to get the N last bytes
-   * of the stream iff the filesize could be determined */
+   * of the stream if the filesize could be determined */
   if(data->state.resume_from < 0) {
     if(!fstated) {
       failf(data, "Can't get the size of file.");
index be926ae9201c6f0f076f87bb333090f0e79a188e..b318ce7132e0e266af28b031a2b87a9ef842a222 100644 (file)
@@ -458,7 +458,7 @@ CURLMcode curl_multi_add_handle(struct Curl_multi *multi,
      happens if the lastcall time is set to the same time when the handle is
      removed as when the next handle is added, as then the check in
      update_timer() that prevents calling the application multiple times with
-     the same timer infor will not trigger and then the new handle's timeout
+     the same timer info will not trigger and then the new handle's timeout
      will not be notified to the app.
 
      The work-around is thus simply to clear the 'lastcall' variable to force
index 0a051e6f9dd7d99d91117b4f5058946b3afb3b49..4e5a6eaa0de0097420f3f76c9719b208c28c28ba 100644 (file)
@@ -1017,7 +1017,7 @@ static void sendsuboption(struct connectdata *conn, int option)
     CURL_SB_ACCUM(tn, CURL_IAC);
     CURL_SB_ACCUM(tn, CURL_SB);
     CURL_SB_ACCUM(tn, CURL_TELOPT_NAWS);
-    /* We must deal either with litte or big endian processors */
+    /* We must deal either with little or big endian processors */
     /* Window size must be sent according to the 'network order' */
     x = htons(tn->subopt_wsx);
     y = htons(tn->subopt_wsy);
index 7e647a2a61d94eeb881b0620dbbebeb3a3b45dd6..86295b681b64315f5e514b641f82bf9febca17d9 100644 (file)
@@ -1348,7 +1348,7 @@ struct DynamicStatic {
   char *url;        /* work URL, copied from UserDefined */
   bool url_alloc;   /* URL string is malloc()'ed */
   char *referer;    /* referer string */
-  bool referer_alloc; /* referer sting is malloc()ed */
+  bool referer_alloc; /* referer string is malloc()ed */
   struct curl_slist *cookielist; /* list of cookie files set by
                                     curl_easy_setopt(COOKIEFILE) calls */
   struct curl_slist *resolve; /* set to point to the set.resolve list when
index 3b4cd803f385b97ffe69103b44fd0021f877f936..fab2c823cd4f5b860e8b129f11305f1a89b2d49c 100644 (file)
@@ -351,7 +351,7 @@ $           endif
 $       endif
 $   endif
 $!
-$!  Filenames with $ in them are VMS special and do not need to be lowercased.
+$!  Filenames with $ in them are VMS special and do not need to be lowercase.
 $!  --------------------------------------------------------------------------
 $   if f$locate("$", pathname) .lt. f$length(pathname) then goto inst_file_loop
 $!
index beec733c344eee66dfcbaecc07bd154d5229a3f4..09f22a22e1eb2937e4b5eccb3dd3ddf30dc45a4a 100644 (file)
@@ -60,7 +60,7 @@ $!
 $! We want detailed build logs.
 $ clist = "/list/show=(expan,includ)"
 $!
-$! We want full symbol names in exact case.  Need a commmon
+$! We want full symbol names in exact case.  Need a common
 $! repository for all directories.
 $ cnames = "/names=(shortened,as_is)/repository=''base_dir'"
 $!
index d337b219ca39f0020a224b27e5cd2bf078ba7eb0..9fd49b780c520b152c587bd5c2f2f296e62dffc2 100644 (file)
@@ -156,7 +156,7 @@ rem ***************************************************************************
   
   if not defined PERL_PATH (
        rem Check we have Perl in our path 
-       rem using !! below as %% was having \Microsoft was unexecpted error.
+       rem using !! below as %% was having \Microsoft was unexpected error.
        echo !PATH! | findstr /I /C:"\Perl" 1>nul
        if errorlevel 1 (
                rem It isn't so check we have it installed and set the path if it is
index f6af47cab2da5ecba46157e838b942ea77950c4e..1ca618f101e7dea040266ddf9c6c09698501e9db 100644 (file)
@@ -47,7 +47,7 @@ create the thread local storage and that could be a problem for LoadLibrary.
 Regarding the options that were added via C_EXTRA_FLAGS:
 
 FP_MAX_BITS=16384
-http://www.yassl.com/forums/topic423-cacertorgs-ca-cert-verify-failed-but-withdisablefastmath-it-works.html
+https://web.archive.org/web/20150218183550/www.yassl.com/forums/topic423-cacertorgs-ca-cert-verify-failed-but-withdisablefastmath-it-works.html
 "Since root.crt uses a 4096-bit RSA key, you'll need to increase the fastmath
 buffer size.  You can do this using the define:
 FP_MAX_BITS and setting it to 8192."
index ebe6500ebbbfc41a5dfc017ae3cbe295ea36f106..53d803b2b0124786133ae71f3870822091f85171 100644 (file)
@@ -178,7 +178,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
@@ -201,7 +201,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
index 60c49c47f9f475d921aa970c1f452b904fd8918e..6269dd776330b45a026c2c4825ef1b1bc750730d 100644 (file)
@@ -11,7 +11,7 @@ LIST
 # Server-side
 <reply>
 <servercmd>
-# include the '.\r\n' 3-byte trailer to end the transfer poperly!
+# include the '.\r\n' 3-byte trailer to end the transfer properly!
 REPLY LIST +OK 851 100\r\n.
 </servercmd>
 </reply>
index 8e61a43f3b7b1631fb6a256bbc1d8ad668613280..955e9a23349663bff1ce6a9aa853c4270f9d8638 100644 (file)
@@ -904,7 +904,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
   char *cmd = NULL;
   size_t cmdsize = 0;
   FILE *dump;
-  bool persistant = TRUE;
+  bool persistent = TRUE;
   bool sendfailure = FALSE;
   size_t responsesize;
   int error = 0;
@@ -1046,7 +1046,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
      connection will be closed after the data has been sent to the requesting
      client... */
   if(strstr(buffer, "swsclose") || !count) {
-    persistant = FALSE;
+    persistent = FALSE;
     logmsg("connection close instruction \"swsclose\" found in response");
   }
   if(strstr(buffer, "swsbounce")) {
@@ -1176,7 +1176,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
     } while(ptr && *ptr);
   }
   free(cmd);
-  req->open = persistant;
+  req->open = persistent;
 
   prevtestno = req->testno;
   prevpartno = req->partno;
@@ -1430,7 +1430,7 @@ int main(int argc, char *argv[])
       }
 
       if(req.open)
-        logmsg("=> persistant connection request ended, awaits new request");
+        logmsg("=> persistent connection request ended, awaits new request");
       /* if we got a CONNECT, loop and get another request as well! */
     } while(req.open || (req.testno == DOCNUMBER_CONNECT));
 
index 10a87746b3ba3f9431de478f639bb74ae2673d68..22ef8168a14dfee18a4dcae3a0e082c1764d5d39 100644 (file)
@@ -1065,7 +1065,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
   char *cmd = NULL;
   size_t cmdsize = 0;
   FILE *dump;
-  bool persistant = TRUE;
+  bool persistent = TRUE;
   bool sendfailure = FALSE;
   size_t responsesize;
   int error = 0;
@@ -1196,7 +1196,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
      connection will be closed after the data has been sent to the requesting
      client... */
   if(strstr(buffer, "swsclose") || !count) {
-    persistant = FALSE;
+    persistent = FALSE;
     logmsg("connection close instruction \"swsclose\" found in response");
   }
   if(strstr(buffer, "swsbounce")) {
@@ -1313,7 +1313,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
     } while(ptr && *ptr);
   }
   free(cmd);
-  req->open = use_gopher?FALSE:persistant;
+  req->open = use_gopher?FALSE:persistent;
 
   prevtestno = req->testno;
   prevpartno = req->partno;
@@ -1968,7 +1968,7 @@ static int service_connection(curl_socket_t msgsock, struct httprequest *req,
   /* if we got a CONNECT, loop and get another request as well! */
 
   if(req->open) {
-    logmsg("=> persistant connection request ended, awaits new request\n");
+    logmsg("=> persistent connection request ended, awaits new request\n");
     return 1;
   }