summaryrefslogtreecommitdiff
path: root/src/xcb_auth.c
diff options
context:
space:
mode:
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;
}