[Xorg-commit] xc/programs/lbxproxy/di pm.c,1.1.4.2,1.1.4.3
Kaleb Keithley
xorg-commit at pdx.freedesktop.org
Wed May 9 17:30:30 EEST 2007
Committed by: kaleb
Update of /cvs/xorg/xc/programs/lbxproxy/di
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/programs/lbxproxy/di
Modified Files:
Tag: XORG-CURRENT
pm.c
Log Message:
merge most of XFree86 RC3 (4.3.99.903) from vendor branch.
bug #214
Index: pm.c
===================================================================
RCS file: /cvs/xorg/xc/programs/lbxproxy/di/pm.c,v
retrieving revision 1.1.4.2
retrieving revision 1.1.4.3
diff -u -d -r1.1.4.2 -r1.1.4.3
--- a/pm.c 26 Nov 2003 22:49:09 -0000 1.1.4.2
+++ b/pm.c 23 Feb 2004 21:37:30 -0000 1.1.4.3
@@ -24,7 +24,7 @@
other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/programs/lbxproxy/di/pm.c,v 1.14 2003/09/13 21:33:10 dawes Exp $ */
+/* $XFree86: xc/programs/lbxproxy/di/pm.c,v 1.15 2004/01/07 04:28:06 dawes Exp $ */
#include <ctype.h>
#include <stdio.h>
@@ -441,7 +441,9 @@
(void)memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
if (bracketed == True) {
+#ifdef AI_NUMERICHOST
hints.ai_flags |= AI_NUMERICHOST;
+#endif
addrtype = AF_INET6;
} else if (protocol != NULL) {
if (strcmp(protocol, "inet") == 0) {
More information about the xorg-commit
mailing list