summaryrefslogtreecommitdiff
path: root/src/xcb_auth.c
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-03-13 17:49:17 -0800
committerIan Osgood <iano@quirkster.com>2006-03-13 17:49:17 -0800
commita810d1ffe4825b9359f13ebb395f5f681961fc89 (patch)
tree03c4e33936449116dc19e3521a603be59b3714bf /src/xcb_auth.c
parentbe1302b6efb33967bce5356af58e3e0ae3b19363 (diff)
Remove dependencies on Xmd.h and X.h
(Still including X.h until defs are moved to xproto.xml and xcb-util and xcb-demo are fixed to use them.)
Diffstat (limited to 'src/xcb_auth.c')
-rw-r--r--src/xcb_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index 3971010..d72d780 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -97,7 +97,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 = FamilyInternet; /* 0 */
+ family = 0; /* X.h: FamilyInternet */
snprintf(dispbuf, sizeof(dispbuf), "%d", ntohs(si->sin_port) - X_TCP_PORT);
display = dispbuf;
}