misc: spelling fixes

Found using codespell 2.2.1.

Also delete the redundant protocol designator from an archive.org URL.

Reviewed-by: Daniel Stenberg
Closes #9403
This commit is contained in:
Viktor Szakats 2022-08-31 14:31:01 +00:00
parent f2daef6ad4
commit c9061f242b
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
18 changed files with 26 additions and 24 deletions

View file

@ -955,14 +955,16 @@ socks_proxy_info_matches(const struct proxy_info *data,
see https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.1 */
if(!data->user != !needle->user)
return FALSE;
/* curl_strequal does a case insentive comparison, so do not use it here! */
/* curl_strequal does a case insensitive comparison,
so do not use it here! */
if(data->user &&
needle->user &&
strcmp(data->user, needle->user) != 0)
return FALSE;
if(!data->passwd != !needle->passwd)
return FALSE;
/* curl_strequal does a case insentive comparison, so do not use it here! */
/* curl_strequal does a case insensitive comparison,
so do not use it here! */
if(data->passwd &&
needle->passwd &&
strcmp(data->passwd, needle->passwd) != 0)