]> granicus.if.org Git - curl/commitdiff
docs: Spelling fixes
authorVille Skyttä <ville.skytta@iki.fi>
Mon, 8 Jun 2015 11:22:54 +0000 (14:22 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Jun 2015 11:43:31 +0000 (13:43 +0200)
21 files changed:
docs/HTTP2.md
docs/TODO
docs/examples/curlx.c
docs/examples/fopen.c
docs/examples/ftpget.c
docs/examples/ftpsget.c
docs/examples/imap-ssl.c
docs/examples/multi-post.c
docs/examples/multi-single.c
docs/examples/pop3-multi.c
docs/examples/pop3-retr.c
docs/examples/pop3-ssl.c
docs/examples/pop3-tls.c
docs/examples/postit2.c
docs/examples/sftpget.c
docs/examples/smtp-mail.c
docs/examples/smtp-ssl.c
docs/examples/xmlstream.c
docs/libcurl/curl_multi_wait.3
docs/libcurl/opts/CURLOPT_CHUNK_DATA.3
docs/libcurl/symbols.pl

index 863a3cee843867abc79b28aaa408fcdc848be236..ea14e57c5f488d1b13cb8a0cd5644be95926b940 100644 (file)
@@ -73,7 +73,7 @@ those transfers. With the new option `CURLOPT_PIPEWAIT` (added in 7.43.0), you
 can ask that a transfer should rather wait and see in case there's a
 connection for the same host in progress that might end up being possible to
 multiplex on. It favours keeping the number of connections low to the cost of
-slightly longer time to first byte transfered.
+slightly longer time to first byte transferred.
 
 Applications
 ------------
index 7791ea2915e8bf77d47fd31d6ada2a999ac796c9..6d0e0854e7456ed1686281c37e2eb371325cc6f1 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
@@ -429,7 +429,7 @@ be the same as/similar to FTP.
 
 11.2 Honor file timestamps
 
-The timestamp of the transfered file should reflect that of the original file.
+The timestamp of the transferred file should reflect that of the original file.
 
 11.3 Use NTLMv2
 
index 89d5f407b9e19edb935cd4d7c0a02c449e0e2cf8..c68cf0ddbc6b85f882c9acff8637784213a61e3e 100644 (file)
@@ -490,7 +490,7 @@ int main(int argc, char **argv) {
         BIO_printf(p.errorbio,"the response has a correct mimetype : %s\n",
                    response);
       else
-        BIO_printf(p.errorbio,"the reponse doesn\'t has an acceptable "
+        BIO_printf(p.errorbio,"the response doesn\'t have an acceptable "
                    "mime type, it is %s instead of %s\n",
                    response,mimetypeaccept);
   }
index 4089bb4334d7725685e29bea21387652aa0ad692..9c575d329b8004418f2f25fab3be8ff84f7d3dd5 100644 (file)
@@ -108,7 +108,7 @@ static size_t write_callback(char *buffer,
       size=rembuff;
     }
     else {
-      /* realloc suceeded increase buffer size*/
+      /* realloc succeeded increase buffer size*/
       url->buffer_len+=size - rembuff;
       url->buffer=newbuff;
     }
@@ -131,7 +131,7 @@ static int fill_buffer(URL_FILE *file, size_t want)
   CURLMcode mc; /* curl_multi_fdset() return code */
 
   /* only attempt to fill buffer if transactions still running and buffer
-   * doesnt exceed required size already
+   * doesn't exceed required size already
    */
   if((!file->still_running) || (file->buffer_pos > want))
     return 0;
@@ -229,7 +229,7 @@ static int use_buffer(URL_FILE *file,int want)
 URL_FILE *url_fopen(const char *url,const char *operation)
 {
   /* this code could check for URLs or types in the 'url' and
-     basicly use the real fopen() for standard files */
+     basically use the real fopen() for standard files */
 
   URL_FILE *file;
   (void)operation;
index bcb42bb302172caa24bdd427b4ce72808724df01..285283f7226c79087978bb5229be0e7f74cec0bf 100644 (file)
@@ -53,7 +53,7 @@ int main(void)
   CURL *curl;
   CURLcode res;
   struct FtpFile ftpfile={
-    "curl.tar.gz", /* name to store the file as if succesful */
+    "curl.tar.gz", /* name to store the file as if successful */
     NULL
   };
 
index 0cfe32024a62ee8637d8f3c63edf5dbaba251429..dae4534821eafad4e4e32ce1eb1b1f757ac5493a 100644 (file)
@@ -55,7 +55,7 @@ int main(void)
   CURL *curl;
   CURLcode res;
   struct FtpFile ftpfile={
-    "yourfile.bin", /* name to store the file as if succesful */
+    "yourfile.bin", /* name to store the file as if successful */
     NULL
   };
 
index e42ff39227fc6ccc93f0fcc3b8bdf00a6026fdd9..eec9b0e31461df244ad24a44935f27ccbf5d475f 100644 (file)
@@ -60,7 +60,7 @@ int main(void)
      * they have mentioned in their server certificate's commonName (or
      * subjectAltName) fields, libcurl will refuse to connect. You can skip
      * this check, but this will make the connection less secure. */
-#ifdef SKIP_HOSTNAME_VERFICATION
+#ifdef SKIP_HOSTNAME_VERIFICATION
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
 #endif
 
index f511d66fd0c064be805ffdb85b58a52942fe0575..5bfdcfd1e7dc0447767d8af0c7c487e7d3ed4735 100644 (file)
@@ -64,7 +64,7 @@ int main(void)
   curl = curl_easy_init();
   multi_handle = curl_multi_init();
 
-  /* initalize custom header list (stating that Expect: 100-continue is not
+  /* initialize custom header list (stating that Expect: 100-continue is not
      wanted */
   headerlist = curl_slist_append(headerlist, buf);
   if(curl && multi_handle) {
index 47e23f5a9b12cf78f36276fd9424531e3ebf0aea..a43a9f523c529abe3e5212d1c15ba81fb8f65086 100644 (file)
@@ -81,7 +81,7 @@ int main(void)
     }
 
     /* 'numfds' being zero means either a timeout or no file descriptors to
-       wait for. Try timeout on first occurance, then assume no file
+       wait for. Try timeout on first occurrence, then assume no file
        descriptors and no file descriptors to wait for means wait for 100
        milliseconds. */
 
index 435308623adb6c4e26b94927040a9454b522a944..6df09a2636de9d802df71c6234860acd5af6127f 100644 (file)
@@ -69,7 +69,7 @@ int main(void)
   curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
   curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-  /* This will retreive message 1 from the user's mailbox */
+  /* This will retrieve message 1 from the user's mailbox */
   curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
 
   /* Tell the multi stack about our easy handle */
index e5a50f22d1718be6a3ab907ea60fb60ad203de89..b5113fa99c0083878ef9b2bba71195bca8233b40 100644 (file)
@@ -39,7 +39,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-    /* This will retreive message 1 from the user's mailbox */
+    /* This will retrieve message 1 from the user's mailbox */
     curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
 
     /* Perform the retr */
index 45e0054b6e87e2b64aa5821faac47fa73cc976a3..0bbec8d9da029f5bdbe0bd53a5b02b5e7c187602 100644 (file)
@@ -40,7 +40,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-    /* This will retreive message 1 from the user's mailbox. Note the use of
+    /* This will retrieve message 1 from the user's mailbox. Note the use of
      * pop3s:// rather than pop3:// to request a SSL based connection. */
     curl_easy_setopt(curl, CURLOPT_URL, "pop3s://pop.example.com/1");
 
@@ -60,7 +60,7 @@ int main(void)
      * they have mentioned in their server certificate's commonName (or
      * subjectAltName) fields, libcurl will refuse to connect. You can skip
      * this check, but this will make the connection less secure. */
-#ifdef SKIP_HOSTNAME_VERFICATION
+#ifdef SKIP_HOSTNAME_VERIFICATION
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
 #endif
 
index 812d89b8b836b627a652c988a71055c9abe023d9..58278a1e2afb8e272ed122121eb8a8d33f25ba00 100644 (file)
@@ -40,7 +40,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
     curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
 
-    /* This will retreive message 1 from the user's mailbox */
+    /* This will retrieve message 1 from the user's mailbox */
     curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
 
     /* In this example, we'll start with a plain text connection, and upgrade
index 67dcc1330be4598346ae52898d3023fcbbdbaa14..88ea78c86645a7885f01994dde88371c121c6015 100644 (file)
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
                CURLFORM_END);
 
   curl = curl_easy_init();
-  /* initalize custom header list (stating that Expect: 100-continue is not
+  /* initialize custom header list (stating that Expect: 100-continue is not
      wanted */
   headerlist = curl_slist_append(headerlist, buf);
   if(curl) {
index 8317462e9c53e723c4c7cfb8d8fbf9f6e7f06a62..434299dc0841fd101aa590e2293462e32fdcfab8 100644 (file)
@@ -58,7 +58,7 @@ int main(void)
   CURL *curl;
   CURLcode res;
   struct FtpFile ftpfile={
-    "yourfile.bin", /* name to store the file as if succesful */
+    "yourfile.bin", /* name to store the file as if successful */
     NULL
   };
 
index af4d1b65b119e365c77a55cf2ae6096628287dd4..eea90b8a87b923f7f659962bc2b402d2ef660ece 100644 (file)
@@ -24,7 +24,7 @@
 #include <curl/curl.h>
 
 /* This is a simple example showing how to send mail using libcurl's SMTP
- * capabilities. For an exmaple of using the multi interface please see
+ * capabilities. For an example of using the multi interface please see
  * smtp-multi.c.
  *
  * Note that this example requires libcurl 7.20.0 or above.
index 9a68a7ff9e240b0cb83ab80d778732a264c16cf8..a774403fcbce72afd10ff3f8e9b22caf0145c9fb 100644 (file)
@@ -111,7 +111,7 @@ int main(void)
      * they have mentioned in their server certificate's commonName (or
      * subjectAltName) fields, libcurl will refuse to connect. You can skip
      * this check, but this will make the connection less secure. */
-#ifdef SKIP_HOSTNAME_VERFICATION
+#ifdef SKIP_HOSTNAME_VERIFICATION
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
 #endif
 
index 4d67f98ebe053902712bd6f80725d39191a9dd5b..8193445027dd8a180654e67fc1910cdd2952fe6b 100644 (file)
@@ -120,7 +120,7 @@ int main(void)
   XML_SetElementHandler(parser, startElement, endElement);
   XML_SetCharacterDataHandler(parser, characterDataHandler);
 
-  /* Initalize a libcurl handle. */
+  /* Initialize a libcurl handle. */
   curl_global_init(CURL_GLOBAL_ALL ^ CURL_GLOBAL_SSL);
   curl_handle = curl_easy_init();
   curl_easy_setopt(curl_handle, CURLOPT_URL, "http://www.w3schools.com/xml/simple.xml");
index a76fba3606c3dee7efff4167e9ab567fedfc2976..45c2e8c95396d40b2b9d0de61ca3eb845e54a5f0 100644 (file)
@@ -44,7 +44,7 @@ The calling application may pass additional curl_waitfd structures which are
 similar to \fIpoll(2)\fP's pollfd structure to be waited on in the same call.
 
 On completion, if \fInumfds\fP is non-NULL, it will be populated with the
-total number of file descriptors on which interesting events occured. This
+total number of file descriptors on which interesting events occurred. This
 number can include both libcurl internal descriptors as well as descriptors
 provided in \fIextra_fds\fP.
 
index abdbc3a87f59cee324bc7f844af3fd9f491bac83..4d0ff3da5f89486680b6fb575c9646694787b620 100644 (file)
@@ -29,8 +29,8 @@ CURLOPT_CHUNK_DATA \- custom pointer to the FTP chunk callbacks
 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CHUNK_DATA, void *pointer);
 .SH DESCRIPTION
 Pass a \fIpointer\fP that will be untouched by libcurl and passed as the ptr
-argument to the \fICURL_CHUNK_BGN_FUNTION(3)\fP and
-\fICURL_CHUNK_END_FUNTION(3)\fP.
+argument to the \fICURL_CHUNK_BGN_FUNCTION(3)\fP and
+\fICURL_CHUNK_END_FUNCTION(3)\fP.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index 9503ebcc7b245eab1ebf91e32c20e6d0a2d682d0..a7b76e239ca230f01d67d774073406c847f0e8b9 100755 (executable)
@@ -24,7 +24,7 @@
 # Experience has shown that the symbols-in-versions file is very useful to
 # applications that want to build with a wide range of libcurl versions.
 # It is however easy to get it wrong and the source gets a bit messy with all
-# the fixed numerical comparisions.
+# the fixed numerical comparisons.
 #
 # The point of this script is to provide an easy-to-use macro for libcurl-
 # using applications to do preprocessor checks for specific libcurl defines,