mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:43:36 +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
|
|
@ -1521,7 +1521,7 @@ void Curl_verboseconnect(struct Curl_easy *data,
|
|||
struct connectdata *conn)
|
||||
{
|
||||
if(data->set.verbose)
|
||||
infof(data, "Connected to %s (%s) port %ld (#%ld)\n",
|
||||
infof(data, "Connected to %s (%s) port %u (#%ld)\n",
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
conn->bits.socksproxy ? conn->socks_proxy.host.dispname :
|
||||
conn->bits.httpproxy ? conn->http_proxy.host.dispname :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue