Skip to content

Commit

Permalink
prevent a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jun 23, 2004
1 parent 522b4d7 commit 5f1eefd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/connect.c
Expand Up @@ -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,
Expand Down

0 comments on commit 5f1eefd

Please sign in to comment.