dixLookupClient: Use access parameter.
This commit is contained in:
parent
30a3297fed
commit
644f7ddc0c
|
@ -265,7 +265,7 @@ _X_EXPORT int
|
||||||
dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
|
dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
|
||||||
{
|
{
|
||||||
pointer pRes = (pointer)SecurityLookupIDByClass(client, rid, RC_ANY,
|
pointer pRes = (pointer)SecurityLookupIDByClass(client, rid, RC_ANY,
|
||||||
DixReadAccess);
|
access);
|
||||||
int clientIndex = CLIENT_ID(rid);
|
int clientIndex = CLIENT_ID(rid);
|
||||||
client->errorValue = rid;
|
client->errorValue = rid;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue