From 278b46751ec0950a1732f1e8de3438f0bf570abf Mon Sep 17 00:00:00 2001 From: Andrei Rybak Date: Mon, 28 Jun 2021 12:15:34 +0200 Subject: [PATCH] misc: fix typos in comments which repeat a word 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 --- lib/config-win32ce.h | 2 +- lib/cookie.c | 2 +- lib/url.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index a85320371..f3f02e720 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -48,7 +48,7 @@ /* Define if you have the 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 header file. */ diff --git a/lib/cookie.c b/lib/cookie.c index 4b99813bd..3f4e4ea5e 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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); diff --git a/lib/url.c b/lib/url.c index 28594e87b..764f1445a 100644 --- 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)