From 90f1024dc25acae1ade7d940002f75a4e459c96f Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 6 Aug 2008 10:06:09 -0700 Subject: [PATCH] Fixed bitwise or-and typo in my last commit. (cherry picked from commit 3ec234976079d30f10e5246f6847a7eee01c144e) --- os/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/connection.c b/os/connection.c index 7db72906f..f3f055cd2 100644 --- a/os/connection.c +++ b/os/connection.c @@ -707,7 +707,7 @@ ClientAuthorized(ClientPtr client, saddr = (struct sockaddr *) (trans_conn->addr); /* Allow any client to connect without authorization on a launchd socket, because it is securely created -- this prevents a race condition on launch */ - if(trans_conn->flags | TRANS_NOXAUTH) { + if(trans_conn->flags & TRANS_NOXAUTH) { auth_id = (XID) 0L; } else { auth_id = CheckAuthorization (proto_n, auth_proto, string_n, auth_string, client, &reason);