tidy-up: miscellaneous

- `N byte` -> `N-byte` or `N bytes`.
- INTERNALS.md: language tweaks.
- schannel: language tweak in comment/error message.
- socks_gssapi, socks_sspi: simplify composing an error message.
  (at a cost of 8 extra constant string bytes.)
- m4/curl-compilers.m4: fix typo in link (in comment).
- contrithanks.sh: fix indent, drop stray `;` terminator.
- lib, src, tests: drop/fix a bunch of badwords.
- fix typos in comments.
- fix indent, stray spaces.

Some of these spotted by GitHub Code Quality and Copilot

Closes #22009
This commit is contained in:
Viktor Szakats 2026-06-12 00:33:40 +02:00
parent 5bff1c35f1
commit 0ffab25b6c
No known key found for this signature in database
158 changed files with 357 additions and 366 deletions

View file

@ -24,7 +24,7 @@ want it to remain functional and buildable with these and later versions
## Dependencies
We aim to support these or later versions.
We aim to support these or later versions:
- brotli 1.0.0 (2017-09-21)
- c-ares 1.16.0 (2020-03-13)
@ -49,9 +49,9 @@ We aim to support these or later versions.
When writing code (mostly for generating stuff included in release tarballs)
we use a few "build tools" and we make sure that we remain functional with
these versions:
these or later versions:
- clang-tidy 17.0.0 (2023-09-19), recommended: 19.1.0 or later (2024-09-17)
- clang-tidy 17.0.0 (2023-09-19), recommended: 19.1.0 (2024-09-17)
- cmake 3.18 (2020-07-15)
- GNU autoconf 2.59 (2003-11-06)
- GNU automake 1.7 (2002-09-25)

View file

@ -40,7 +40,7 @@ static const char olivertwist[] =
"all events; the item of mortality whose name is prefixed";
/* ... to the head of this chapter. String cut off to stick within the C90
509 byte limit. */
509-byte limit. */
/*
* This example shows an HTTP PUT operation that sends a fixed buffer with

View file

@ -38,7 +38,7 @@ interleaved RTP data. This function gets called for each $ block and therefore
contains exactly one upper-layer protocol unit (e.g. one RTP packet). curl
writes the interleaved header as well as the included data for each call. The
first byte is always an ASCII dollar sign. The dollar sign is followed by a
one byte channel identifier and then a 2 byte integer length in network byte
one-byte channel identifier and then a 2-byte integer length in network byte
order. See RFC 2326 Section 10.12 for more information on how RTP interleaving
behaves. If unset or set to NULL, curl uses the default write function.