Give XI2 requests a chance if server and client endianess differ.

There are more bugs in this code though.
This commit is contained in:
matthieu 2011-03-27 19:51:09 +00:00
parent 98c5b36dbb
commit 6e1b78e41d

View File

@ -429,7 +429,7 @@ static int
SProcIDispatch(ClientPtr client)
{
REQUEST(xReq);
if (stuff->data > IREQUESTS || !SProcIVector[stuff->data])
if (stuff->data > (IREQUESTS + XI2REQUESTS) || !SProcIVector[stuff->data])
return BadRequest;
return (*SProcIVector[stuff->data])(client);