diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-23 06:14:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-23 06:14:23 +0000 |
commit | 5f1eefd03f19814ac6f71adb35b3ad0e5e08f919 (patch) | |
tree | 1f1f80520a3cea292382b9412bcf2877abfb7ada | |
parent | 522b4d7576048d20f6fc9e6c888e2e743d3dab90 (diff) |
prevent a warning
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index ed5bc80ac..6d953cad3 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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, |