]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: fix typos in comments which repeat a word
authorAndrei Rybak <rybak.a.v@gmail.com>
Wed, 4 Jan 2023 00:13:52 +0000 (01:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 Jan 2023 08:12:58 +0000 (09:12 +0100)
Remove erroneously duplicated words in code comments of files
`lib.connect.c` and `lib/url.c`.

Closes #10220

lib/connect.c
lib/url.c

index f4b56075c134d9fdad7fb1c8a0e7714d82e788fc..ce9a028bcd7b4d1d7826ae0c1c235d085f4ed16b 100644 (file)
@@ -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() */
index f500faee783f2c1aafd2cb65be7976287b40bbe9..e531a821ceb1b34fd452ef363fc6866b34b569bf 100644 (file)
--- 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);