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:
Viktor Szakats 2026-05-27 18:00:46 +02:00
parent cdb266738b
commit 59320082b0
No known key found for this signature in database
50 changed files with 263 additions and 289 deletions

View file

@ -1188,8 +1188,7 @@ static CURLcode ftp_port_bind_socket(struct Curl_easy *data,
curlx_strerror(SOCKERRNO, buffer, sizeof(buffer)));
return CURLE_FTP_PORT_FAILED;
}
CURL_TRC_FTP(data, "ftp_port_bind_socket(), socket bound to port %d",
port);
CURL_TRC_FTP(data, "ftp_port_bind_socket(), socket bound to port %d", port);
return CURLE_OK;
}
@ -1276,8 +1275,7 @@ static CURLcode ftp_port_send_command(struct Curl_easy *data,
* EPRT |2|1080::8:800:200C:417A|5282|
*/
result = Curl_pp_sendf(data, &ftpc->pp, "%s |%d|%s|%hu|", mode[fcmd],
sa->sa_family == AF_INET ? 1 : 2,
myhost, port);
sa->sa_family == AF_INET ? 1 : 2, myhost, port);
if(result) {
failf(data, "Failure sending EPRT command: %s",
curl_easy_strerror(result));