mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:53:31 +03:00
lib: use %u instead of %ld for port number printf
Follow-up to 764c6bd3bf which changed the type of some port number
fields. Detected by Coverity (CID 1486624) etc.
Closes #7325
This commit is contained in:
parent
63c7668182
commit
d696ee00ee
3 changed files with 4 additions and 4 deletions
|
|
@ -1038,7 +1038,7 @@ CURLcode Curl_is_connected(struct Curl_easy *data,
|
|||
else
|
||||
hostname = conn->host.name;
|
||||
|
||||
failf(data, "Failed to connect to %s port %ld after %ld ms: %s",
|
||||
failf(data, "Failed to connect to %s port %u after %ld ms: %s",
|
||||
hostname, conn->port,
|
||||
Curl_timediff(now, data->progress.t_startsingle),
|
||||
Curl_strerror(error, buffer, sizeof(buffer)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue