]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cleanup: misc typos in strings and comments
authorluz.paz <luzpaz@users.noreply.github.com>
Fri, 16 Mar 2018 02:51:03 +0000 (22:51 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Mar 2018 10:08:31 +0000 (11:08 +0100)
Found via `codespell`

Closes #2389

16 files changed:
docs/INSTALL.cmake
docs/TODO
docs/examples/curlx.c
docs/examples/shared-connection-cache.c
lib/http.h
lib/http_negotiate.c
lib/mime.c
lib/urldata.h
lib/vtls/darwinssl.c
packages/DOS/README
src/tool_metalink.c
src/tool_operate.c
tests/data/test1108
tests/data/test1209
tests/data/test155
tests/testcurl.pl

index abdfb46b2a7f9041277199b0a31f9d05f537c390..0a8e43971e284ffdaabc552728d3074f19764abf 100644 (file)
@@ -34,7 +34,7 @@ Current flaws in the curl CMake build
    - Doesn't allow you to disable specific protocols from the build
    - Doesn't find or use krb4 or GSS
    - Rebuilds test files too eagerly, but still can't run the tests
-   - Does't detect the correct strerror_r flavor when cross-compiling (issue #1123)
+   - Doesn't detect the correct strerror_r flavor when cross-compiling (issue #1123)
 
 
 Command Line CMake
index ea78d9f18de933916576ea8a314f2e77771e9070..ba383a3be343990263f6a2b693dd4a9d21484ecb 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -710,7 +710,7 @@ that doesn't exist on the server, just like --ftp-create-dirs.
  You can specify the private and public keys for SSH/SSL as file paths. Some
  programs want to avoid using files and instead just pass them as in-memory
  data blobs. There's probably a challenge to make this work across the
- plethory of different TLS and SSH backends that curl suppports.
+ plethory of different TLS and SSH backends that curl supports.
  https://github.com/curl/curl/issues/2310
 
 13.4 Cache/share OpenSSL contexts
index 2aa10aa75ea4ecd9799853a0141b115e4574d8db..3e47b460a2f623e1a2f303302b1d27f2372e5e1b 100644 (file)
@@ -183,7 +183,7 @@ static unsigned char *my_get_ext(X509 *cert, const int type,
 
 /* This is an application verification call back, it does not
    perform any addition verification but tries to find a URL
-   in the presented certificat. If found, this will become
+   in the presented certificate. If found, this will become
    the URL to be used in the POST.
 */
 
index a1aa0d6748ab26337525968106a8ae4b6e60f481..91864d9b29ee3e8b152748d84b34715b0fc0e89a 100644 (file)
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 /* <DESC>
- * Connection cache shared between easy handles with the share inteface
+ * Connection cache shared between easy handles with the share interface
  * </DESC>
  */
 #include <stdio.h>
index 2ce44bbfc3377eb9f5a5c3e41d451f39be9154a4..a5573c738f627eade9af39826bfdd00c0d85773e 100644 (file)
@@ -104,7 +104,7 @@ CURLcode Curl_http_perhapsrewind(struct connectdata *conn);
 
    This value used to be fairly big (100K), but we must take into account that
    if the server rejects the POST due for authentication reasons, this data
-   will always be uncondtionally sent and thus it may not be larger than can
+   will always be unconditionally sent and thus it may not be larger than can
    always be afforded to send twice.
 
    It must not be greater than 64K to work on VMS.
index 51375e81d13f335fea4daad202093bebfc01a50b..ddcd65b3b9cb6881c2af1764b688b5b27cb7d827 100644 (file)
@@ -89,7 +89,7 @@ CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
     }
   }
 
-  /* Initilise the security context and decode our challenge */
+  /* Initialize the security context and decode our challenge */
   result = Curl_auth_decode_spnego_message(data, userp, passwdp, service,
                                            host, header, neg_ctx);
 
index 0ccb346ee3436340a389edd9162a620242cb01bc..89819a93505860449553a5c2ff30d70cf0e49b92 100644 (file)
@@ -241,7 +241,7 @@ static FILE * vmsfopenread(const char *file, const char *mode)
 static char *Curl_basename(char *path)
 {
   /* Ignore all the details above for now and make a quick and simple
-     implementaion here */
+     implementation here */
   char *s1;
   char *s2;
 
index 3d7b9e5a53881afd7b5a0e7d0dc4c9615138f68a..0da5fbce068d79850da862f5c19d63a82d916f05 100644 (file)
@@ -895,7 +895,7 @@ struct connectdata {
                                 well be the same we read from.
                                 CURL_SOCKET_BAD disables */
 
-  /** Dynamicly allocated strings, MUST be freed before this **/
+  /** Dynamically allocated strings, MUST be freed before this **/
   /** struct is killed.                                      **/
   struct dynamically_allocated_data {
     char *proxyuserpwd;
index 694ac572d6730ccf21b687dd469af7fcbfe360b7..f00a94295ca506dc915bfb6283936891b64bf9d6 100644 (file)
@@ -1389,7 +1389,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn,
 #endif /* CURL_BUILD_MAC */
 
 #if CURL_BUILD_MAC_10_8 || CURL_BUILD_IOS
-  if(SSLCreateContext != NULL) {  /* use the newer API if avaialble */
+  if(SSLCreateContext != NULL) {  /* use the newer API if available */
     if(BACKEND->ssl_ctx)
       CFRelease(BACKEND->ssl_ctx);
     BACKEND->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType);
index c2ab9b9aa51c8d5c4a08bdc48af8c5a18c1c1b0a..5278f2c13c8b0f0e92a6f187d5c2fc8032dda1f2 100644 (file)
@@ -4,7 +4,7 @@ Watt-32 stack.
 'make djgpp' in the root curl dir should build it fine.
 
 Note 1: djgpp 2.04 beta has a sscanf() bug so the URL parsing isn't
-        done proberly. Use djgpp 2.03 until they fix it.
+        done properly. Use djgpp 2.03 until they fix it.
 
 Note 2: Compile Watt-32 (and OpenSSL) with the same version of djgpp.
         Otherwise things go wrong because things like FS-extensions and
index bbbfc2a659d0ae5389a6f740ff137a6a7d982d32..91c5878c91810057d2514234ed16abc6079e9fb5 100644 (file)
@@ -243,7 +243,7 @@ static int nss_hash_init(void **pctx, SECOidTag hash_alg)
 {
   PK11Context *ctx;
 
-  /* we have to initialize NSS if not initialized alraedy */
+  /* we have to initialize NSS if not initialized already */
   if(!NSS_IsInitialized() && !nss_context) {
     static NSSInitParameters params;
     params.length = sizeof params;
index e8b434a534f6e66d18e50667941849276484109d..15cdc13da2931dc59f7060e432a499453760d0a0 100644 (file)
@@ -1973,7 +1973,7 @@ CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[])
         size_t count = 0;
         struct OperationConfig *operation = config->first;
 
-        /* Get the required aguments for each operation */
+        /* Get the required arguments for each operation */
         while(!result && operation) {
           result = get_args(operation, count++);
 
index 7b779e11fd1fc174587865110976d13df27ee081..f83eb9570b62eaeae678343bc55372c9729dcdf1 100644 (file)
@@ -11,7 +11,7 @@ PRET
 <reply>
 
 <servercmd>
-REPLY PRET 550 unkown command
+REPLY PRET 550 unknown command
 </servercmd>
 </reply>
 
index 7086829f1840b7d2907d6ca3aabe0be22018ea9c..76bce5fd56026996be3b80cbe4e028e731756fcd 100644 (file)
@@ -39,7 +39,7 @@ s/^EPRT \|1\|(.*)/EPRT \|1\|/
 
 # The protocol part does not include QUIT simply because the error is
 # CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
-# specificly saying for which connection it concerns, and for timeouts libcurl
+# specifically saying for which connection it concerns, and for timeouts libcurl
 # marks the control channel as "invalid". As this test case times out for the
 # data connection it could still use the control channel.
 <protocol>
index b6451ec2e165ae3b4481755136d535298e6ce518..9bdc8414c9fdab72b70f82831f460d4dcb2841be 100644 (file)
@@ -39,7 +39,7 @@ This is not the real page either!
 # This is supposed to be returned when the server gets the second
 # Authorization: NTLM line passed-in from the client
 <data1002>
-HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose\r
+HTTP/1.1 200 Type-3 Received and all Things are fine swsclose\r
 Server: Microsoft-IIS/5.0\r
 Content-Type: text/html; charset=iso-8859-1\r
 Content-Length: 32\r
@@ -62,7 +62,7 @@ Content-Length: 34
 Content-Type: text/html; charset=iso-8859-1\r
 WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==\r
 \r
-HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose\r
+HTTP/1.1 200 Type-3 Received and all Things are fine swsclose\r
 Server: Microsoft-IIS/5.0\r
 Content-Type: text/html; charset=iso-8859-1\r
 Content-Length: 32\r
index 9749bc7d1e4eaf5e22e6d8cadec91258ee83677c..69722fb36030c552dc9676484b32be6fe4d2f4ce 100755 (executable)
@@ -31,7 +31,7 @@
 # at a regular interval. The output is suitable to be mailed to
 # curl-autocompile@haxx.se to be dealt with automatically (make sure the
 # subject includes the word "autobuild" as the mail gets silently discarded
-# otherwise).  The most current build status (with a resonable backlog) will
+# otherwise).  The most current build status (with a reasonable backlog) will
 # be published on the curl site, at https://curl.haxx.se/auto/
 
 # USAGE: