1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

prevent a warning

This commit is contained in:
Daniel Stenberg 2004-06-23 06:14:23 +00:00
parent 522b4d7576
commit 5f1eefd03f

View File

@ -608,6 +608,8 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
/*
* Connecting with a getaddrinfo chain
*/
(void)port; /* the port number is already included in the getaddrinfo
struct */
for (curr_addr = remotehost->addr, aliasindex=0; curr_addr;
curr_addr = curr_addr->ai_next, aliasindex++) {
sockfd = socket(curr_addr->ai_family, curr_addr->ai_socktype,