mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +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
|
|
@ -54,7 +54,7 @@ write output to stdout, the standard output stream; **curl_mfprintf()** and
|
|||
**curl_mvsnprintf()** write to the character string **buffer**.
|
||||
|
||||
The functions **curl_msnprintf()** and **curl_mvsnprintf()** write at most
|
||||
*maxlength* bytes (including the terminating null byte ('0')) to
|
||||
*maxlength* bytes (including the null-terminator byte ('0')) to
|
||||
*buffer*.
|
||||
|
||||
The functions **curl_mvprintf()**, **curl_mvfprintf()**,
|
||||
|
|
@ -246,10 +246,10 @@ is written.
|
|||
|
||||
The *const char ** argument is expected to be a pointer to an array of
|
||||
character type (pointer to a string). Characters from the array are written up
|
||||
to (but not including) a terminating null byte. If a precision is specified,
|
||||
to (but not including) a null-terminator byte. If a precision is specified,
|
||||
no more than the number specified are written. If a precision is given, no
|
||||
null byte need be present; if the precision is not specified, or is greater
|
||||
than the size of the array, the array must contain a terminating null byte.
|
||||
than the size of the array, the array must contain a null-terminator byte.
|
||||
|
||||
## p
|
||||
|
||||
|
|
|
|||
|
|
@ -99,6 +99,6 @@ curl_easy_setopt(3) returns a CURLcode indicating success or error.
|
|||
CURLE_OK (0) means everything was OK, non-zero means an error occurred, see
|
||||
libcurl-errors(3).
|
||||
|
||||
Note that curl_easy_setopt(3) does immediately parse the given string so when
|
||||
given a bad DoH URL, libcurl might not detect the problem until it later tries
|
||||
to resolve a name with it.
|
||||
Note that curl_easy_setopt(3) does not immediately parse the given string so
|
||||
when given a bad DoH URL, libcurl might not detect the problem until it later
|
||||
tries to resolve a name with it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue