os/connection: TRANS_NOXAUTH bit comparison brainfart fix.
https://bugs.freedesktop.org/show_bug.cgi?id=18524
This commit is contained in:
parent
17bccff4ce
commit
e917806fc5
@ -665,7 +665,7 @@ ClientAuthorized(ClientPtr client,
|
|||||||
|
|
||||||
/* Allow any client to connect without authorization on a launchd socket,
|
/* Allow any client to connect without authorization on a launchd socket,
|
||||||
because it is securely created -- this prevents a race condition on launch */
|
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;
|
auth_id = (XID) 0L;
|
||||||
} else {
|
} else {
|
||||||
auth_id = CheckAuthorization (proto_n, auth_proto, string_n, auth_string, client, &reason);
|
auth_id = CheckAuthorization (proto_n, auth_proto, string_n, auth_string, client, &reason);
|
||||||
|
Loading…
Reference in New Issue
Block a user