summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Rybak <rybak.a.v@gmail.com>2023-01-04 01:13:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-01-04 09:12:58 +0100
commitbb393e521ffc217d14faf3812861278086ac84aa (patch)
tree49a1d902742fd6261fe83e296a6eda6d832682e0
parent3ef31a16fcab6f914a71fc29bef950c544241342 (diff)
downloadcurl-bb393e521ffc217d14faf3812861278086ac84aa.tar.gz
lib: fix typos in comments which repeat a word
Remove erroneously duplicated words in code comments of files `lib.connect.c` and `lib/url.c`. Closes #10220
-rw-r--r--lib/connect.c2
-rw-r--r--lib/url.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c
index f4b56075c..ce9a028bc 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -356,7 +356,7 @@ struct eyeballer {
int ai_family; /* matching address family only */
cf_ip_connect_create *cf_create; /* for creating cf */
struct Curl_cfilter *cf; /* current sub-cfilter connecting */
- struct eyeballer *primary; /* eyeballer this one is is backup for */
+ struct eyeballer *primary; /* eyeballer this one is backup for */
timediff_t delay_ms; /* delay until start */
timediff_t timeoutms; /* timeout for all tries */
expire_id timeout_id; /* ID for Curl_expire() */
diff --git a/lib/url.c b/lib/url.c
index f500faee7..e531a821c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2318,7 +2318,7 @@ static CURLcode parse_proxy(struct Curl_easy *data,
result = CURLE_OUT_OF_MEMORY;
goto error;
}
- /* path will be "/", if no path was was found */
+ /* path will be "/", if no path was found */
if(strcmp("/", path)) {
is_unix_proxy = TRUE;
free(host);