Unverified Commit 1870fd28 authored by Daniel Gustafsson's avatar Daniel Gustafsson Committed by Daniel Stenberg
Browse files

misc: fix typos in comments

Closes #2963
parent 6e054623
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ static bool http2_connisdead(struct connectdata *conn)
    dead = !Curl_connalive(conn);
    if(!dead) {
      /* This happens before we've sent off a request and the connection is
         not in use by any other thransfer, there shouldn't be any data here,
         not in use by any other transfer, there shouldn't be any data here,
         only "protocol frames" */
      CURLcode result;
      struct http_conn *httpc = &conn->proto.httpc;
+1 −1
Original line number Diff line number Diff line
@@ -628,7 +628,7 @@ static CURLUcode seturl(const char *url, CURLU *u, unsigned int flags)

  /* handle the file: scheme */
  if(url_has_scheme && strcasecompare(schemebuf, "file")) {
    /* path has been allocated large anough to hold this */
    /* path has been allocated large enough to hold this */
    strcpy(path, &url[5]);

    hostname = NULL; /* no host for file: URLs */
+1 −1
Original line number Diff line number Diff line
@@ -552,7 +552,7 @@ CURLcode glob_next_url(char **globbed, URLGlob *glob)
      }
    }
    if(carry) {         /* first pattern ptr has run into overflow, done! */
      /* TODO: verify if this should actally return CURLE_OK. */
      /* TODO: verify if this should actually return CURLE_OK. */
      return CURLE_OK; /* CURLE_OK to match previous behavior */
    }
  }
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ s/^EPRT \|1\|(.*)/EPRT \|1\|/

# This test doesn't send a QUIT because the main state machine in multi.c
# triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for
# which the FTP disconect code generically has to assume could mean the
# which the FTP disconnect code generically has to assume could mean the
# control the connection and thus it cannot send any command.
<protocol>
USER anonymous