mirror of
https://github.com/curl/curl.git
synced 2026-08-01 02:28:03 +03:00
tidy-up: assortment of small fixes
- examples/headerapi: fix wrong cast. - curl_ngtcp2: delete stray character from error message. - rustls: fix inline variable declaration. - sendf: drop redundant `int` cast. - libtest/cli_ws_data: drop cast with mismatched signedness. Cherry-picked from #18343 Closes #18664
This commit is contained in:
parent
06d00e3879
commit
e5d9c871f0
5 changed files with 6 additions and 5 deletions
|
|
@ -106,7 +106,7 @@ static CURLcode test_ws_data_m2_echo(const char *url,
|
|||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 2L); /* websocket style */
|
||||
r = curl_easy_perform(curl);
|
||||
curl_mfprintf(stderr, "curl_easy_perform() returned %u\n", (int)r);
|
||||
curl_mfprintf(stderr, "curl_easy_perform() returned %u\n", r);
|
||||
if(r != CURLE_OK)
|
||||
goto out;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue