mirror of
https://github.com/curl/curl.git
synced 2026-07-28 16:53:11 +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
|
|
@ -180,7 +180,6 @@ static ssize_t write_wincon(int fd, const void *buf, size_t count)
|
|||
* in nbytes or it fails with a condition that cannot be handled with a simple
|
||||
* retry of the read call.
|
||||
*/
|
||||
|
||||
static ssize_t fullread(int filedes, void *buffer, size_t nbytes)
|
||||
{
|
||||
int error;
|
||||
|
|
@ -234,7 +233,6 @@ static ssize_t fullread(int filedes, void *buffer, size_t nbytes)
|
|||
* indicated in nbytes or it fails with a condition that cannot be handled
|
||||
* with a simple retry of the write call.
|
||||
*/
|
||||
|
||||
static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes)
|
||||
{
|
||||
int error;
|
||||
|
|
@ -283,7 +281,6 @@ static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes)
|
|||
* read or FALSE when an unrecoverable error has been detected. Failure of this
|
||||
* function is an indication that the sockfilt process should terminate.
|
||||
*/
|
||||
|
||||
static bool read_stdin(void *buffer, size_t nbytes)
|
||||
{
|
||||
ssize_t nread = fullread(fileno(stdin), buffer, nbytes);
|
||||
|
|
@ -300,7 +297,6 @@ static bool read_stdin(void *buffer, size_t nbytes)
|
|||
* written or FALSE when an unrecoverable error has been detected. Failure of
|
||||
* this function is an indication that the sockfilt process should terminate.
|
||||
*/
|
||||
|
||||
static bool write_stdout(const void *buffer, size_t nbytes)
|
||||
{
|
||||
ssize_t nwrite;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue