diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-30 12:56:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-30 23:25:35 +0200 |
commit | d696ee00eec865747daedfaeeb1a880cf7d9a65c (patch) | |
tree | dd25363e31588d57477c1ac82d428360123f7239 /lib/url.c | |
parent | 63c76681827b5ae9017f6c981003cd75e5f127de (diff) | |
download | curl-d696ee00eec865747daedfaeeb1a880cf7d9a65c.tar.gz |
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
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 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 : |