mirror of
https://github.com/curl/curl.git
synced 2026-05-17 21:46:22 +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
|
|
@ -145,7 +145,7 @@ UNITTEST_START
|
|||
addr = dns ? dns->addr : NULL;
|
||||
|
||||
for(j = 0; j < addressnum; ++j) {
|
||||
long port = 0;
|
||||
int port = 0;
|
||||
char ipaddress[MAX_IPADR_LEN] = {0};
|
||||
|
||||
if(!addr && !tests[i].address[j])
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ UNITTEST_START
|
|||
addr = dns ? dns->addr : NULL;
|
||||
|
||||
for(j = 0; j < addressnum; ++j) {
|
||||
long port = 0;
|
||||
int port = 0;
|
||||
char ipaddress[MAX_IPADR_LEN] = {0};
|
||||
|
||||
if(!addr && !tests[i].address[j])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue