mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added missing parenthesis
This commit is contained in:
parent
846d203d31
commit
7052daf475
@ -573,7 +573,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
||||
#ifdef ENABLE_IPV6
|
||||
rc = connect(sockfd, ai->ai_addr, ai->ai_addrlen);
|
||||
#else
|
||||
rc = connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr);
|
||||
rc = connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr));
|
||||
#endif
|
||||
|
||||
if(-1 == rc) {
|
||||
|
Loading…
Reference in New Issue
Block a user