mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
badwords: fix issues found in tests
There remain some false positives, hits in test data, and `dir` use, around 100 issues in total. There is no plan to enforce badwords on tests. Also: - badwords.txt: let a few `manpage[s]` occurrences through (in Perl code). Closes #19541
This commit is contained in:
parent
f0de14168a
commit
a87383828e
247 changed files with 594 additions and 595 deletions
|
|
@ -93,7 +93,7 @@ static int test_resolve(int argc, char *argv[])
|
|||
/* Check that the system has IPv6 enabled before checking the resolver */
|
||||
curl_socket_t s = socket(PF_INET6, SOCK_DGRAM, 0);
|
||||
if(s == CURL_SOCKET_BAD)
|
||||
/* an IPv6 address was requested and we can't get/use one */
|
||||
/* an IPv6 address was requested and we cannot get/use one */
|
||||
rc = -1;
|
||||
else {
|
||||
sclose(s);
|
||||
|
|
@ -128,7 +128,7 @@ static int test_resolve(int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
if(rc)
|
||||
printf("Resolving %s '%s' didn't work\n", ipv_inuse, host);
|
||||
printf("Resolving %s '%s' did not work\n", ipv_inuse, host);
|
||||
|
||||
return !!rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue