]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url.c: fix comment typo and indentation
authorDaniel Gustafsson <daniel@yesql.se>
Sat, 8 Sep 2018 21:05:21 +0000 (23:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 8 Sep 2018 21:28:04 +0000 (23:28 +0200)
Closes #2960

lib/url.c

index 66faa400de2b7bdc367711a65fac86951d919e0a..249d1237d80e5d046e515c33c79234ac19fdceaf 100644 (file)
--- 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 */