mirror of
https://github.com/curl/curl.git
synced 2026-07-29 00:03:12 +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
|
|
@ -667,7 +667,7 @@ static CURLcode bindlocal(struct Curl_easy *data, struct connectdata *conn,
|
|||
* We now have the numerical IP address in the 'myhost' buffer
|
||||
*/
|
||||
host = myhost;
|
||||
infof(data, "Local Interface %s is ip %s using address family %i",
|
||||
infof(data, "Local Interface %s is ip %s using address family %d",
|
||||
iface, host, af);
|
||||
done = 1;
|
||||
break;
|
||||
|
|
@ -693,7 +693,7 @@ static CURLcode bindlocal(struct Curl_easy *data, struct connectdata *conn,
|
|||
int h_af = h->addr->ai_family;
|
||||
/* convert the resolved address, sizeof myhost >= INET_ADDRSTRLEN */
|
||||
Curl_printable_address(h->addr, myhost, sizeof(myhost));
|
||||
infof(data, "Name '%s' family %i resolved to '%s' family %i",
|
||||
infof(data, "Name '%s' family %d resolved to '%s' family %d",
|
||||
host, af, myhost, h_af);
|
||||
Curl_dns_entry_unlink(data, &h); /* this will NULL, potential free h */
|
||||
if(af != h_af) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue