mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +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
|
|
@ -186,7 +186,7 @@ CURLcode Curl_rand_bytes(struct Curl_easy *data,
|
|||
|
||||
/*
|
||||
* Curl_rand_hex() fills the 'rnd' buffer with a given 'num' size with random
|
||||
* hexadecimal digits PLUS a null-terminating byte. It must be an odd number
|
||||
* hexadecimal digits PLUS a null-terminator byte. It must be an odd number
|
||||
* size.
|
||||
*/
|
||||
|
||||
|
|
@ -214,7 +214,7 @@ CURLcode Curl_rand_hex(struct Curl_easy *data, unsigned char *rnd, size_t num)
|
|||
|
||||
/*
|
||||
* Curl_rand_alnum() fills the 'rnd' buffer with a given 'num' size with random
|
||||
* alphanumerical chars PLUS a null-terminating byte.
|
||||
* alphanumerical chars PLUS a null-terminator byte.
|
||||
*/
|
||||
|
||||
static const char alnum[] =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue