1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00

url.c: fix comment typo and indentation

Closes #2960
This commit is contained in:
Daniel Gustafsson 2018-09-08 23:05:21 +02:00 committed by Daniel Stenberg
parent 01dedc99fc
commit 6e4b8c5073
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

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