Touchups for MacOS

This commit is contained in:
Dan Buch
2016-12-26 22:12:00 -05:00
parent 1d559bd8ef
commit 0198ca77a7
3 changed files with 28 additions and 16 deletions

View File

@ -304,7 +304,7 @@ int net_connect(const char *host, const char *port)
{
int sd;
struct addrinfo hints = {0};
struct addrinfo hints = {.ai_family = 0};
struct addrinfo *server_info, *p;
hints.ai_family = AF_UNSPEC;