mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Use AF_UNIX, not AF_LOCAL, since the former is in POSIX and the latter is not.
[originally from svn r5220]
This commit is contained in:
parent
865fbaa8ce
commit
3d44cb23c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user