mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:03:31 +03:00
tidy-up: apply clang-format fixes
To lib, vtls/vauth, vtls/vquic, lib/vtls.
Also:
- unit3400: drop redundant `(void)arg`.
Follow-up to e78b1b3ecc #21153
- fix comment typos.
Closes #21786
This commit is contained in:
parent
cdb266738b
commit
59320082b0
50 changed files with 263 additions and 289 deletions
|
|
@ -220,8 +220,7 @@ static void test_capsule_decode_paths(void)
|
|||
fail_unless(err == CURLE_RECV_ERROR,
|
||||
"expected RECV_ERROR for short output buffer");
|
||||
fail_unless(nread == 0, "expected zero read on short output buffer");
|
||||
fail_unless(Curl_bufq_is_empty(&q),
|
||||
"oversized capsule must be discarded");
|
||||
fail_unless(Curl_bufq_is_empty(&q), "oversized capsule must be discarded");
|
||||
|
||||
/* zero-length UDP payload is accepted and consumed */
|
||||
Curl_bufq_reset(&q);
|
||||
|
|
@ -250,8 +249,6 @@ static CURLcode test_unit3400(const char *arg)
|
|||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
(void)arg;
|
||||
|
||||
#if defined(USE_PROXY_HTTP3) && \
|
||||
!defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
|
||||
test_capsule_encap_udp_hdr_boundaries();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue