Commit 5f1eefd0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

prevent a warning

parent 522b4d75
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,