mirror of
https://github.com/curl/curl.git
synced 2026-07-30 12:58:04 +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
|
|
@ -3367,7 +3367,7 @@ static void reuse_conn(struct Curl_easy *data,
|
|||
ip address and port number whenever an outgoing connection is
|
||||
**established** from the primary socket to a remote address. */
|
||||
char local_ip[MAX_IPADR_LEN] = "";
|
||||
long local_port = -1;
|
||||
int local_port = -1;
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
Curl_free_idnconverted_hostname(&old_conn->http_proxy.host);
|
||||
Curl_free_idnconverted_hostname(&old_conn->socks_proxy.host);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue