diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-14 10:56:21 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-14 10:57:22 -0800 |
commit | e917806fc556c2054b2835c8f85770b554c78092 (patch) | |
tree | cf710b577979466d1d6a689cd20073b337a78eba /os/connection.c | |
parent | 17bccff4ce905f46c074fd8ee7c6567b1371a0a1 (diff) |
os/connection: TRANS_NOXAUTH bit comparison brainfart fix.
https://bugs.freedesktop.org/show_bug.cgi?id=18524
Diffstat (limited to 'os/connection.c')
-rw-r--r-- | os/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |