1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/x11/XFree86-4-libraries/files/patch-access.c
Eric Anholt f6c848659e [1] Fix xdmcp queries in the X servers (bug 277)
[2] Fix underlining in the freetype backend (bug 330)

PR:		[1] ports/52387
		[2] ports/55134
Submitted by:	[1] Joel Ray Holveck <joelh@piqnet.org>
		[2] Ariff Abdullah <skywizard@MyBSD.org.my>
2003-08-12 18:35:37 +00:00

17 lines
633 B
C

Index: programs/Xserver/os/access.c
===================================================================
RCS file: /home/ncvs/xfree/xc/programs/Xserver/os/access.c,v
retrieving revision 3.43
retrieving revision 3.44
diff -u -u -r3.43 -r3.44
--- programs/Xserver/os/access.c 20 Apr 2003 18:35:12 -0000 3.43
+++ programs/Xserver/os/access.c 25 May 2003 10:38:47 -0000 3.44
@@ -745,6 +745,7 @@
if (ifr->ifa_addr.sa_family == AF_DECnet)
continue;
#endif /* DNETCONN */
+ len = sizeof(*(ifr->ifa_addr));
family = ConvertAddr(ifr->ifa_addr, &len, (pointer *)&addr);
if (family == -1 || family == FamilyLocal)
continue;