mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:37:18 +03:00
lib: use int type for more port variables
This is a follow-up to 764c6bd. Prior to that change port variables
were usually type long.
Closes https://github.com/curl/curl/pull/6553
This commit is contained in:
parent
65ca229461
commit
cb2dc1ba89
8 changed files with 18 additions and 18 deletions
|
|
@ -758,7 +758,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data,
|
|||
ngtcp2_path path; /* TODO: this must be initialized properly */
|
||||
struct quicsocket *qs = &conn->hequic[sockindex];
|
||||
char ipbuf[40];
|
||||
long port;
|
||||
int port;
|
||||
int qfd;
|
||||
|
||||
if(qs->conn)
|
||||
|
|
@ -773,7 +773,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data,
|
|||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
}
|
||||
|
||||
infof(data, "Connect socket %d over QUIC to %s:%ld\n",
|
||||
infof(data, "Connect socket %d over QUIC to %s:%d\n",
|
||||
sockfd, ipbuf, port);
|
||||
|
||||
qs->version = NGTCP2_PROTO_VER_MAX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue