mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 18:00:07 +01:00
Fixed bitwise or-and typo in my last commit.
(cherry picked from commit 3ec2349760)
This commit is contained in:
parent
dfcf7f0db7
commit
90f1024dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue