mirror of
https://github.com/curl/curl.git
synced 2026-07-17 07:27:16 +03:00
added missing parenthesis
This commit is contained in:
parent
846d203d31
commit
7052daf475
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue