# HG changeset patch # User Matt Johnston # Date 1429275572 -28800 # Node ID b3b7726469741d01f8543f582c70a2f47bec35af # Parent d92597ef089e2fabc56e2e21a47dbc2f18a9c0af Should be AF_UNSPEC not PF_UNSPEC diff -r d92597ef089e -r b3b772646974 netio.c --- a/netio.c Tue Apr 14 20:43:54 2015 +0800 +++ b/netio.c Fri Apr 17 20:59:32 2015 +0800 @@ -165,7 +165,7 @@ memset(&hints, 0, sizeof(hints)); hints.ai_socktype = SOCK_STREAM; - hints.ai_family = PF_UNSPEC; + hints.ai_family = AF_UNSPEC; err = getaddrinfo(remotehost, remoteport, &hints, &c->res); if (err) {