diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-08-09 10:07:32 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-08-14 09:13:32 -0700 |
commit | 04956b80431169e0ae713a3e6ba4cdc157ce3a66 (patch) | |
tree | ff367797b5dbc79ab8c9bfd1b93ce7b1ed90ade0 /os | |
parent | e6813e8de65eee854bbffe6ab0f8ba158f43b10b (diff) |
Transport/Apple: Add TRANS_NOXAUTH to incoming connections when the listener is flagged as such
(cherry picked from commit ba4a7924261070ad0aff7211b7a1c9581fad4646)
Diffstat (limited to 'os')
-rw-r--r-- | os/connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/connection.c b/os/connection.c index c0bdd1ad7..a111fa5ba 100644 --- a/os/connection.c +++ b/os/connection.c @@ -878,6 +878,10 @@ EstablishNewConnections(ClientPtr clientUnused, pointer closure) ErrorConnMax(new_trans_conn); _XSERVTransClose(new_trans_conn); } + + if(trans_conn->flags & TRANS_NOXAUTH) + new_trans_conn->flags = new_trans_conn->flags | TRANS_NOXAUTH; + } #ifndef WIN32 } |