mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +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
|
|
@ -88,12 +88,10 @@ static CURLcode test_tool1394(const char *arg)
|
|||
fail("assertion failure");
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(certname) {
|
||||
curl_mprintf("expected certname NULL but got '%s' "
|
||||
"for -E param '%s'\n", certname, p->param);
|
||||
fail("assertion failure");
|
||||
}
|
||||
else if(certname) {
|
||||
curl_mprintf("expected certname NULL but got '%s' "
|
||||
"for -E param '%s'\n", certname, p->param);
|
||||
fail("assertion failure");
|
||||
}
|
||||
if(p->passwd) {
|
||||
if(passphrase) {
|
||||
|
|
@ -109,12 +107,10 @@ static CURLcode test_tool1394(const char *arg)
|
|||
fail("assertion failure");
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(passphrase) {
|
||||
curl_mprintf("expected passphrase NULL but got '%s' "
|
||||
"for -E param '%s'\n", passphrase, p->param);
|
||||
fail("assertion failure");
|
||||
}
|
||||
else if(passphrase) {
|
||||
curl_mprintf("expected passphrase NULL but got '%s' "
|
||||
"for -E param '%s'\n", passphrase, p->param);
|
||||
fail("assertion failure");
|
||||
}
|
||||
if(certname)
|
||||
curlx_free(certname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue