curl_addrinfo: drop redundant parentheses
No binary (build failed)
—
(log yok)
| @@ -319,7 +319,7 @@ struct Curl_addrinfo *Curl_he2ai(const struct hostent *he, int port) | |
| addr = (void *)ai->ai_addr; /* storage area for this info */ | |
| memcpy(&addr->sin_addr, curr, sizeof(struct in_addr)); | |
| - | addr->sin_family = (CURL_SA_FAMILY_T)(he->h_addrtype); |
| + | addr->sin_family = (CURL_SA_FAMILY_T)he->h_addrtype; |
| addr->sin_port = htons((unsigned short)port); | |
| break; | |
| @@ -328,7 +328,7 @@ struct Curl_addrinfo *Curl_he2ai(const struct hostent *he, int port) | |
| addr6 = (void *)ai->ai_addr; /* storage area for this info */ | |
| memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); | |
| - | addr6->sin6_family = (CURL_SA_FAMILY_T)(he->h_addrtype); |
| + | addr6->sin6_family = (CURL_SA_FAMILY_T)he->h_addrtype; |
| addr6->sin6_port = htons((unsigned short)port); | |
| break; | |
| #endif | |