misc: fix typos in comments

Closes #2963
This commit is contained in:
Daniel Gustafsson 2018-09-09 21:29:39 +02:00 committed by Daniel Stenberg
parent 6e054623b4
commit 1870fd2832
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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 */