]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: fix typos in comments which repeat a word
authorAndrei Rybak <rybak.a.v@gmail.com>
Mon, 28 Jun 2021 10:15:34 +0000 (12:15 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 28 Jun 2021 10:41:56 +0000 (12:41 +0200)
Fix typos in code comments which repeat various words.  In trivial
cases, just delete the repeated word.  Reword the affected sentence in
"lib/url.c" for it to make sense.

Closes #7303
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
lib/config-win32ce.h
lib/cookie.c
lib/url.c

index a85320371ec81760485ce2c55d37a9305257c18d..f3f02e720a11b4db3e91568e365e62bccbf62206 100644 (file)
@@ -48,7 +48,7 @@
 /* Define if you have the <io.h> header file.  */
 #define HAVE_IO_H 1
 
-/* Define if you need the malloc.h header header file even with stdlib.h  */
+/* Define if you need the malloc.h header file even with stdlib.h  */
 #define NEED_MALLOC_H 1
 
 /* Define if you have the <netdb.h> header file.  */
index 4b99813bda7013203b8fa205ccae68dd5b6f308b..3f4e4ea5edbf16b0326344952969088e9b05f03a 100644 (file)
@@ -1223,7 +1223,7 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
 
     /*
      * Remove expired cookies from the hash. We must make sure to run this
-     * after reading the file, and not not on every cookie.
+     * after reading the file, and not on every cookie.
      */
     remove_expired(c);
 
index 28594e87b1730fb821951dfc01c3f7de85f11817..764f1445ad3921888bd54d07313a89961aeed698 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -3621,7 +3621,7 @@ static CURLcode create_conn(struct Curl_easy *data,
   if(result)
     goto out;
 
-  /* Check for overridden login details and set them accordingly so they
+  /* Check for overridden login details and set them accordingly so that
      they are known when protocol->setup_connection is called! */
   result = override_login(data, conn);
   if(result)