From e6132aff2fdcd0ab1ef5d7ac84a3c597dc07d370 Mon Sep 17 00:00:00 2001 From: Ian Osgood Date: Fri, 28 Apr 2006 15:27:09 -0700 Subject: Move the remainder of the constants in X.h into XML enumerations. Fix xcb_auth to use one of the new enumerations. --- src/xcb_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xcb_auth.c') diff --git a/src/xcb_auth.c b/src/xcb_auth.c index f42400d..46c85fd 100644 --- a/src/xcb_auth.c +++ b/src/xcb_auth.c @@ -105,7 +105,7 @@ static Xauth *get_authptr(struct sockaddr *sockname, unsigned int socknamelen) addr = (char *) &si->sin_addr; addrlen = 4; if (ntohl(si->sin_addr.s_addr) != 0x7f000001) - family = 0; /* X.h: FamilyInternet */ + family = XCBFamilyInternet; snprintf(dispbuf, sizeof(dispbuf), "%d", ntohs(si->sin_port) - X_TCP_PORT); display = dispbuf; } -- cgit v1.2.3