diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2015-06-08 14:22:54 +0300 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-08 13:43:31 +0200 | 
| commit | 56b7663f73d44bf4774bfb934befb7071ed41280 (patch) | |
| tree | a3519bcdd6ab9a98ba36658555a8ef749787eed6 /docs/examples | |
| parent | 025dbe46df8385c3d0a76874758232e7eabc5013 (diff) | |
docs: Spelling fixes
Diffstat (limited to 'docs/examples')
| -rw-r--r-- | docs/examples/curlx.c | 2 | ||||
| -rw-r--r-- | docs/examples/fopen.c | 6 | ||||
| -rw-r--r-- | docs/examples/ftpget.c | 2 | ||||
| -rw-r--r-- | docs/examples/ftpsget.c | 2 | ||||
| -rw-r--r-- | docs/examples/imap-ssl.c | 2 | ||||
| -rw-r--r-- | docs/examples/multi-post.c | 2 | ||||
| -rw-r--r-- | docs/examples/multi-single.c | 2 | ||||
| -rw-r--r-- | docs/examples/pop3-multi.c | 2 | ||||
| -rw-r--r-- | docs/examples/pop3-retr.c | 2 | ||||
| -rw-r--r-- | docs/examples/pop3-ssl.c | 4 | ||||
| -rw-r--r-- | docs/examples/pop3-tls.c | 2 | ||||
| -rw-r--r-- | docs/examples/postit2.c | 2 | ||||
| -rw-r--r-- | docs/examples/sftpget.c | 2 | ||||
| -rw-r--r-- | docs/examples/smtp-mail.c | 2 | ||||
| -rw-r--r-- | docs/examples/smtp-ssl.c | 2 | ||||
| -rw-r--r-- | docs/examples/xmlstream.c | 2 | 
16 files changed, 19 insertions, 19 deletions
| diff --git a/docs/examples/curlx.c b/docs/examples/curlx.c index 89d5f407b..c68cf0ddb 100644 --- a/docs/examples/curlx.c +++ b/docs/examples/curlx.c @@ -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);    } diff --git a/docs/examples/fopen.c b/docs/examples/fopen.c index 4089bb433..9c575d329 100644 --- a/docs/examples/fopen.c +++ b/docs/examples/fopen.c @@ -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; diff --git a/docs/examples/ftpget.c b/docs/examples/ftpget.c index bcb42bb30..285283f72 100644 --- a/docs/examples/ftpget.c +++ b/docs/examples/ftpget.c @@ -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    }; diff --git a/docs/examples/ftpsget.c b/docs/examples/ftpsget.c index 0cfe32024..dae453482 100644 --- a/docs/examples/ftpsget.c +++ b/docs/examples/ftpsget.c @@ -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    }; diff --git a/docs/examples/imap-ssl.c b/docs/examples/imap-ssl.c index e42ff3922..eec9b0e31 100644 --- a/docs/examples/imap-ssl.c +++ b/docs/examples/imap-ssl.c @@ -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 diff --git a/docs/examples/multi-post.c b/docs/examples/multi-post.c index f511d66fd..5bfdcfd1e 100644 --- a/docs/examples/multi-post.c +++ b/docs/examples/multi-post.c @@ -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) { diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c index 47e23f5a9..a43a9f523 100644 --- a/docs/examples/multi-single.c +++ b/docs/examples/multi-single.c @@ -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. */ diff --git a/docs/examples/pop3-multi.c b/docs/examples/pop3-multi.c index 435308623..6df09a263 100644 --- a/docs/examples/pop3-multi.c +++ b/docs/examples/pop3-multi.c @@ -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 */ diff --git a/docs/examples/pop3-retr.c b/docs/examples/pop3-retr.c index e5a50f22d..b5113fa99 100644 --- a/docs/examples/pop3-retr.c +++ b/docs/examples/pop3-retr.c @@ -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 */ diff --git a/docs/examples/pop3-ssl.c b/docs/examples/pop3-ssl.c index 45e0054b6..0bbec8d9d 100644 --- a/docs/examples/pop3-ssl.c +++ b/docs/examples/pop3-ssl.c @@ -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 diff --git a/docs/examples/pop3-tls.c b/docs/examples/pop3-tls.c index 812d89b8b..58278a1e2 100644 --- a/docs/examples/pop3-tls.c +++ b/docs/examples/pop3-tls.c @@ -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 diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c index 67dcc1330..88ea78c86 100644 --- a/docs/examples/postit2.c +++ b/docs/examples/postit2.c @@ -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) { diff --git a/docs/examples/sftpget.c b/docs/examples/sftpget.c index 8317462e9..434299dc0 100644 --- a/docs/examples/sftpget.c +++ b/docs/examples/sftpget.c @@ -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    }; diff --git a/docs/examples/smtp-mail.c b/docs/examples/smtp-mail.c index af4d1b65b..eea90b8a8 100644 --- a/docs/examples/smtp-mail.c +++ b/docs/examples/smtp-mail.c @@ -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. diff --git a/docs/examples/smtp-ssl.c b/docs/examples/smtp-ssl.c index 9a68a7ff9..a774403fc 100644 --- a/docs/examples/smtp-ssl.c +++ b/docs/examples/smtp-ssl.c @@ -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 diff --git a/docs/examples/xmlstream.c b/docs/examples/xmlstream.c index 4d67f98eb..819344502 100644 --- a/docs/examples/xmlstream.c +++ b/docs/examples/xmlstream.c @@ -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"); | 
