TRANS_NOXAUTH

Adam Jackson ajax at nwnk.net
Wed Aug 6 09:09:13 PDT 2008


On Wed, 2008-08-06 at 09:13 +0300, Daniel Stone wrote:
> On Tue, Aug 05, 2008 at 07:09:21PM -0700, Jeremy Huddleston wrote:
> > +    if(trans_conn->flags | TRANS_NOXAUTH) {
>                             ^
>                             & ?
> 
> > +        auth_id = (XID) 0L;
> > +    } else {
> > +        auth_id = CheckAuthorization (proto_n, auth_proto, string_n,  
> > auth_string, client, &reason);
> > +    }

Yes, definitely that.

There's no new xtrans release with NOXAUTH yet, so if you'd also add a

#ifndef TRANS_NOXAUTH
#define TRANS_NOXAUTH 0
#endif

in the appropriate place, then this looks fine for master, and we can
just cull the ifdef once new xtrans goes out.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080806/6aae2bb9/attachment.pgp>


More information about the xorg mailing list