diff --git a/os/connection.c b/os/connection.c index 64b0a0be6..ddb2d6c2a 100644 --- a/os/connection.c +++ b/os/connection.c @@ -665,7 +665,7 @@ ClientAuthorized(ClientPtr client, /* 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);