From: ben Date: Fri, 28 Jan 2005 11:47:33 +0000 (+0000) Subject: Use AF_UNIX, not AF_LOCAL, since the former is in POSIX and the latter is not. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/ff677091f222e8175b03a7ff03d4e56bcf93dc24 Use AF_UNIX, not AF_LOCAL, since the former is in POSIX and the latter is not. git-svn-id: svn://svn.tartarus.org/sgt/putty@5220 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxnet.c b/unix/uxnet.c index 97dcffc9..05f9f251 100644 --- a/unix/uxnet.c +++ b/unix/uxnet.c @@ -294,7 +294,7 @@ static int sockaddr_is_loopback(struct sockaddr *sa) sin6 = (struct sockaddr_in6 *)sa; return IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr); #endif - case AF_LOCAL: + case AF_UNIX: return TRUE; default: return FALSE;