Commit 1702a2c0 authored by Fabian Keil's avatar Fabian Keil Committed by Julien Chaffraix
Browse files

Fix a couple of spelling errors in lib/

Found with codespell.
parent 9230be07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#Description: makefile to be used in order to compile libcurl for VxWoorks 6.3.
#
#How to use:
#             1. Adjust environment variables at the file begining
#             1. Adjust environment variables at the file beginning
#             2. Open the Command Prompt window and change directory ('cd')
#                into the 'lib' folder
#             3. Add <CYGWIN>/bin folder to the PATH environment variable
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
 * Telnet option defines. Add more here if in need.
 */
#define CURL_TELOPT_BINARY   0  /* binary 8bit data */
#define CURL_TELOPT_SGA      3  /* Supress Go Ahead */
#define CURL_TELOPT_SGA      3  /* Suppress Go Ahead */
#define CURL_TELOPT_EXOPL  255  /* EXtended OPtions List */
#define CURL_TELOPT_TTYPE   24  /* Terminal TYPE */
#define CURL_TELOPT_XDISPLOC 35 /* X DISPlay LOCation */
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ Curl_axtls_connect(struct connectdata *conn,
  else
    infof(data, "\t server certificate verification SKIPPED\n");

  /* Here, gtls.c does issuer verfication. axTLS has no straightforward
  /* Here, gtls.c does issuer verification. axTLS has no straightforward
   * equivalent, so omitting for now.*/

  /* See if common name was set in server certificate */
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ long Curl_timeleft(struct SessionHandle *data,
    nowp = &now;
  }

  /* substract elapsed time */
  /* subtract elapsed time */
  timeout_ms -= Curl_tvdiff(*nowp, data->progress.t_startsingle);
  if(!timeout_ms)
    /* avoid returning 0 as that means no timeout! */
+4 −4
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@ Curl_cookie_add(struct SessionHandle *data,
            }
          }
          else if(Curl_raw_equal("domain", name)) {
            /* note that this name may or may not have a preceeding dot, but
            /* note that this name may or may not have a preceding dot, but
               we don't care about that, we treat the names the same anyway */

            const char *domptr=whatptr;
@@ -307,7 +307,7 @@ Curl_cookie_add(struct SessionHandle *data,
                 or the given domain is not valid and thus cannot be set. */

              if('.' == whatptr[0])
                whatptr++; /* ignore preceeding dot */
                whatptr++; /* ignore preceding dot */

              if(!domain || tailmatch(whatptr, domain)) {
                const char *tailptr=whatptr;
@@ -479,7 +479,7 @@ Curl_cookie_add(struct SessionHandle *data,
       marked with httpOnly after the domain name are not accessible
       from javascripts, but since curl does not operate at javascript
       level, we include them anyway. In Firefox's cookie files, these
       lines are preceeded with #HttpOnly_ and then everything is
       lines are preceded with #HttpOnly_ and then everything is
       as usual, so we skip 10 characters of the line..
    */
    if (strncmp(lineptr, "#HttpOnly_", 10) == 0) {
@@ -514,7 +514,7 @@ Curl_cookie_add(struct SessionHandle *data,
        ptr=strtok_r(NULL, "\t", &tok_buf), fields++) {
      switch(fields) {
      case 0:
        if(ptr[0]=='.') /* skip preceeding dots */
        if(ptr[0]=='.') /* skip preceding dots */
          ptr++;
        co->domain = strdup(ptr);
        if(!co->domain)
Loading