mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
tidy-up: miscellaneous
- badwords: replace stray synonyms with 'null-terminator'. - tests/FILEFORMAT.md: tidy up feature descriptions. - printf: replace stray `%i` masks with `%d` for consistency. - pytest: add comments for empty excepts to try silencing GitHub CodeQL warnings. - tool1394, unit1675: merge nested `if`s. - dnscache: fix typo in comment. - fix whitespace, indent and newlines. Closes #21921
This commit is contained in:
parent
849317ff5c
commit
952b04474c
31 changed files with 90 additions and 90 deletions
|
|
@ -351,7 +351,7 @@ UNITTEST CURLcode dns_shuffle_addr(struct Curl_easy *data,
|
|||
|
||||
if(num_addrs > 1) {
|
||||
struct Curl_addrinfo **nodes;
|
||||
CURL_TRC_DNS(data, "Shuffling %i addresses", num_addrs);
|
||||
CURL_TRC_DNS(data, "Shuffling %d addresses", num_addrs);
|
||||
|
||||
nodes = curlx_malloc(num_addrs * sizeof(*nodes));
|
||||
if(nodes) {
|
||||
|
|
@ -828,7 +828,7 @@ err:
|
|||
Curl_hash_delete(&dnscache->entries, entry_id, entry_len + 1);
|
||||
}
|
||||
|
||||
/* put this new host in the cache, an overridy for ALL dns queries */
|
||||
/* put this new host in the cache, an override for ALL dns queries */
|
||||
dns = dnscache_add_addr(data, dnscache, CURL_DNSQ_ALL,
|
||||
&head, curlx_str(&source),
|
||||
curlx_strlen(&source), port, permanent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue