]> granicus.if.org Git - curl/commitdiff
added missing parenthesis
authorDaniel Stenberg <daniel@haxx.se>
Thu, 15 Jan 2004 09:54:30 +0000 (09:54 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 Jan 2004 09:54:30 +0000 (09:54 +0000)
lib/connect.c

index 0dc655353c51b2c9f63178ecbc7cc723d22aef0b..33e16dd72f61ff851319c40b6bb08421dd810660 100644 (file)
@@ -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) {