changeset 1078:b3b772646974

Should be AF_UNSPEC not PF_UNSPEC
author Matt Johnston <matt@ucc.asn.au>
date Fri, 17 Apr 2015 20:59:32 +0800
parents d92597ef089e
children acf444bcb115
files netio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {