mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:13:34 +03:00
tidy-up: miscellaneous
- drop more uses of the word "just". (not enforced here) - drop some uses of the "will" word. - "then" -> "than". - tests/http/testenv/curl.py: fix copy-paste typo in error message. - pytest: replace `shutdownh` with `shutdown` in test names. Spotted by GitHub Code Quality. - comment typos. - whitespace and newlines fixes. Closes #21830
This commit is contained in:
parent
032b15c434
commit
d229055549
116 changed files with 184 additions and 185 deletions
|
|
@ -480,7 +480,7 @@ static CURLUcode hostname_check(struct Curl_URL *u, char *hostname,
|
|||
/* more than one trailing dot is not allowed */
|
||||
return CURLUE_BAD_HOSTNAME;
|
||||
else if((hlen == 1) && (hostname[0] == '.'))
|
||||
/* just a single dot is not allowed */
|
||||
/* a single dot alone is not allowed */
|
||||
return CURLUE_BAD_HOSTNAME;
|
||||
}
|
||||
return CURLUE_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue