aboutsummaryrefslogtreecommitdiff
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
parent6e054623b462494c26bbaf46da7ba4b5f40ff285 (diff)
misc: fix typos in comments
Closes #2963
-rw-r--r--lib/http2.c2
-rw-r--r--lib/urlapi.c2
-rw-r--r--src/tool_urlglob.c2
-rw-r--r--tests/data/test12082
4 files changed, 4 insertions, 4 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 */
diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c
index e1b994108..cb87706cc 100644
--- a/src/tool_urlglob.c
+++ b/src/tool_urlglob.c
@@ -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 */
}
}
diff --git a/tests/data/test1208 b/tests/data/test1208
index b4545b569..055aa9327 100644
--- a/tests/data/test1208
+++ b/tests/data/test1208
@@ -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