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:
Jay Satiro 2021-02-01 02:10:07 -05:00
parent 65ca229461
commit cb2dc1ba89
8 changed files with 18 additions and 18 deletions

View file

@ -1153,9 +1153,9 @@ struct PureInfo {
reused, in the connection cache. */
char conn_primary_ip[MAX_IPADR_LEN];
long conn_primary_port;
int conn_primary_port;
char conn_local_ip[MAX_IPADR_LEN];
long conn_local_port;
int conn_local_port;
const char *conn_scheme;
unsigned int conn_protocol;
struct curl_certinfo certs; /* info about the certs, only populated in