badwords: fix two exceptions and drop them

Also:
- extend `dir` rule to exclude C assignments.

Closes #19532
This commit is contained in:
Viktor Szakats 2025-11-14 16:58:05 +01:00
parent f3095f0dbd
commit af4c789e00
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
13 changed files with 27 additions and 27 deletions

View file

@ -248,7 +248,7 @@ struct OperationConfig {
BIT(autoreferer); /* automatically set referer */
BIT(show_headers); /* show headers to data output */
BIT(no_body); /* do not get the body */
BIT(dirlistonly); /* only get the FTP dir list */
BIT(dirlistonly); /* only get the FTP directory list */
BIT(unrestricted_auth); /* Continue to send authentication (user+password)
when following redirects, even when hostname
changed */

View file

@ -176,7 +176,7 @@ CURLcode ipfs_url_rewrite(CURLU *uh, const char *protocol, char **url,
goto clean;
/* inputpath might be NULL or a valid pointer now */
/* set gateway parts in input url */
/* set gateway parts in input URL */
if(curl_url_set(uh, CURLUPART_SCHEME, gwscheme, CURLU_URLENCODE) ||
curl_url_set(uh, CURLUPART_HOST, gwhost, CURLU_URLENCODE) ||
curl_url_set(uh, CURLUPART_PORT, gwport, CURLU_URLENCODE))

View file

@ -2123,7 +2123,7 @@ static CURLcode transfer_per_config(struct OperationConfig *config,
CURLcode result;
*added = FALSE;
/* Check we have a url */
/* Check we have a URL */
if(!config->url_list || !config->url_list->url) {
helpf("(%d) no URL specified", CURLE_FAILED_INIT);
result = CURLE_FAILED_INIT;

View file

@ -80,7 +80,7 @@ CURLcode urlerr_cvt(CURLUcode ucode)
/*
* Adds the filename to the URL if it does not already have one.
* url will be freed before return if the returned pointer is different
* URL will be freed before return if the returned pointer is different
*/
CURLcode add_file_name_to_url(CURL *curl, char **inurlp, const char *filename)
{

View file

@ -56,7 +56,7 @@ typedef enum {
VAR_INPUT_URLQUERY,
VAR_INPUT_URLFRAGMENT,
VAR_INPUT_URLZONEID,
/* the same ones again for url *effective* */
/* the same ones again for URL *effective* */
VAR_INPUT_URLESCHEME, /* keep this the first URLE* variable */
VAR_INPUT_URLEUSER,
VAR_INPUT_URLEPASSWORD,