From: Daniel Gustafsson Date: Sat, 8 Sep 2018 21:05:21 +0000 (+0200) Subject: url.c: fix comment typo and indentation X-Git-Tag: curl-7_62_0~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e4b8c5073c3985cef98656c3b375981d25a8898;p=thirdparty%2Fcurl.git url.c: fix comment typo and indentation Closes #2960 --- diff --git a/lib/url.c b/lib/url.c index 66faa400de..249d1237d8 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 */