mirror of
https://github.com/curl/curl.git
synced 2026-07-29 05:13:06 +03:00
tidy-up: miscellaneous
- GHA/windows: drop redundant double-quotes. - CMake/PickyWarnings: improve/shorten comment. - INTERNALS: fix typo in LibreSSL release date. - drop redundant parentheses from single variables and sole `#if` expressions. - cf-ip-happy: fix missing space from error string. - telnet: fix parentheses in commented PP code. - lib1922: fix typo test output text. - smbserver: unfold lines. - smbserver: use f-string. - smbserver: initialize binary string as b``. - fix typos in comments. Closes #21972
This commit is contained in:
parent
04a85a1d38
commit
2a606c68fa
16 changed files with 29 additions and 32 deletions
|
|
@ -32,7 +32,7 @@ We aim to support these or later versions.
|
|||
- libidn2 2.0.0 (2017-03-29)
|
||||
- libgsasl 1.6.0 (2010-12-14)
|
||||
- libpsl 0.16.0 (2016-12-10)
|
||||
- LibreSSL 2.9.1 (2019-04-22)
|
||||
- LibreSSL 2.9.1 (2019-04-21)
|
||||
- libssh 0.9.0 (2019-06-28)
|
||||
- libssh2 1.9.0 (2019-06-20)
|
||||
- mbedTLS 3.2.0 (2022-07-11)
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ int main(int argc, const char *argv[])
|
|||
case 'm':
|
||||
case 'M':
|
||||
if(argv[0][2] == '=') {
|
||||
int m = atoi((*argv) + 3);
|
||||
int m = atoi(*argv + 3);
|
||||
switch(m) {
|
||||
case 1:
|
||||
url = URL_1M;
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ static int setup(struct transfer *t, int num)
|
|||
/* HTTP/2 please */
|
||||
curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
|
||||
|
||||
#if (CURLPIPE_MULTIPLEX > 0)
|
||||
#if CURLPIPE_MULTIPLEX > 0
|
||||
/* wait for pipe connection to confirm */
|
||||
curl_easy_setopt(curl, CURLOPT_PIPEWAIT, 1L);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ static int setup(struct input *t, int num, const char *upload)
|
|||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
||||
#if (CURLPIPE_MULTIPLEX > 0)
|
||||
#if CURLPIPE_MULTIPLEX > 0
|
||||
/* wait for pipe connection to confirm */
|
||||
curl_easy_setopt(curl, CURLOPT_PIPEWAIT, 1L);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue