added missing parenthesis

This commit is contained in:
Daniel Stenberg 2004-01-15 09:54:30 +00:00
parent 846d203d31
commit 7052daf475
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
#ifdef ENABLE_IPV6 #ifdef ENABLE_IPV6
rc = connect(sockfd, ai->ai_addr, ai->ai_addrlen); rc = connect(sockfd, ai->ai_addr, ai->ai_addrlen);
#else #else
rc = connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr); rc = connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr));
#endif #endif
if(-1 == rc) { if(-1 == rc) {