aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-09-08 23:05:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-08 23:28:04 +0200
commit6e4b8c5073c3985cef98656c3b375981d25a8898 (patch)
treedce676dfef0c8be255dc195e4307f1fbfa496987
parent01dedc99fc8d386fe955421ab05a1c4094c9190b (diff)
url.c: fix comment typo and indentation
Closes #2960
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 66faa400d..249d1237d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1944,7 +1944,7 @@ static struct connectdata *allocate_conn(struct Curl_easy *data)
return NULL;
}
-/* returns the handdler if the given scheme is built-in */
+/* returns the handler if the given scheme is built-in */
const struct Curl_handler *Curl_builtin_scheme(const char *scheme)
{
const struct Curl_handler * const *pp;
@@ -2250,7 +2250,7 @@ static CURLcode parseurlandfillconn(struct Curl_easy *data,
the host-name part */
memmove(path + hostlen + 1, path, pathlen + 1);
- /* now copy the trailing host part in front of the existing path */
+ /* now copy the trailing host part in front of the existing path */
memcpy(path + 1, query, hostlen);
path[0]='/'; /* prepend the missing slash */