diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-22 11:57:11 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-22 11:57:11 +0000 |
commit | a9507ca8b53879563b99836cddd75efd321b1e3c (patch) | |
tree | 26b5b41c67a913b4749ae3830beda3ee8bbef5ca | |
parent | 0828d64cb76c7b1d46b2f7782bedbba7bb978125 (diff) |
Fix build of os/access.c if IPv6 is disabled. Bug #345. (Alexander
Gottwald)
-rw-r--r-- | os/access.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/access.c b/os/access.c index 4933b5d44..c1c39104f 100644 --- a/os/access.c +++ b/os/access.c @@ -1,5 +1,5 @@ /* $Xorg: access.c,v 1.5 2001/02/09 02:05:23 xorgcvs Exp $ */ -/* $XdotOrg: xc/programs/Xserver/os/access.c,v 1.1.4.3.2.1.2.1 2004/03/13 18:48:40 alanc Exp $ */ +/* $XdotOrg: xc/programs/Xserver/os/access.c,v 1.1.4.3.2.2 2004/03/17 17:39:36 alanc Exp $ */ /*********************************************************** Copyright 1987, 1998 The Open Group @@ -2035,7 +2035,7 @@ siHostnameAddrMatch(int family, pointer addr, int len, { struct sockaddr_in sin; - sin.sa_family = hp->h_addrtype; + sin.sin_family = hp->h_addrtype; acopy ( *addrlist, &(sin.sin_addr), hp->h_length); hostaddrlen = sizeof(sin); f = ConvertAddr ((struct sockaddr *)&sin, @@ -2046,7 +2046,7 @@ siHostnameAddrMatch(int family, pointer addr, int len, break; } } - + } } #endif return res; |