dixLookupClient: Use access parameter.

This commit is contained in:
Michel Dänzer 2007-06-11 09:23:18 +02:00
parent 30a3297fed
commit 644f7ddc0c

View File

@ -265,7 +265,7 @@ _X_EXPORT int
dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
{
pointer pRes = (pointer)SecurityLookupIDByClass(client, rid, RC_ANY,
DixReadAccess);
access);
int clientIndex = CLIENT_ID(rid);
client->errorValue = rid;