aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-09-09 21:29:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-10 08:32:07 +0200
commit1870fd2832d82781abc4443ffd344925f161bc4a (patch)
tree0cea4b952bf13991d30362bc5d3706e877327871 /lib
parent6e054623b462494c26bbaf46da7ba4b5f40ff285 (diff)
misc: fix typos in comments
Closes #2963
Diffstat (limited to 'lib')
-rw-r--r--lib/http2.c2
-rw-r--r--lib/urlapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/http2.c b/lib/http2.c
index c74974ef4..f6d2672c8 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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;
diff --git a/lib/urlapi.c b/lib/urlapi.c
index 3183598e2..0ac550741 100644
--- a/lib/urlapi.c
+++ b/lib/urlapi.c
@@ -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 */