summaryrefslogtreecommitdiff
path: root/xserver/record
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-01-31 07:52:37 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-01-31 07:52:37 +0000
commit1a90d395ebb1b3caf5c698b358d34ca6bbe775aa (patch)
treeb06881e6e0859ab79faf35af2fdae7b717c42071 /xserver/record
parent973e4e72b90a98f23aa855f0c68b8ce8686cfb03 (diff)
Update to xserver 1.11.4. tested by krw@, shadchin@.
Diffstat (limited to 'xserver/record')
-rw-r--r--xserver/record/record.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/xserver/record/record.c b/xserver/record/record.c
index 93383cee4..778849a6e 100644
--- a/xserver/record/record.c
+++ b/xserver/record/record.c
@@ -554,7 +554,7 @@ RecordARequest(ClientPtr client)
}
else /* extension, check minor opcode */
{
- int minorop = MinorOpcodeOfRequest(client);
+ int minorop = client->minorOp;
int numMinOpInfo;
RecordMinorOpPtr pMinorOpInfo = pRCAP->pRequestMinOpInfo;
@@ -611,12 +611,9 @@ RecordAReply(CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
RecordContextPtr pContext;
RecordClientsAndProtocolPtr pRCAP;
int eci;
- int majorop;
ReplyInfoRec *pri = (ReplyInfoRec *)calldata;
ClientPtr client = pri->client;
- REQUEST(xReq);
- majorop = stuff->reqType;
for (eci = 0; eci < numEnabledContexts; eci++)
{
pContext = ppAllContexts[eci];
@@ -624,6 +621,7 @@ RecordAReply(CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
NULL);
if (pRCAP)
{
+ int majorop = client->majorOp;
if (pContext->continuedReply)
{
RecordAProtocolElement(pContext, client, XRecordFromServer,
@@ -644,7 +642,7 @@ RecordAReply(CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
}
else /* extension, check minor opcode */
{
- int minorop = MinorOpcodeOfRequest(client);
+ int minorop = client->minorOp;
int numMinOpInfo;
RecordMinorOpPtr pMinorOpInfo = pRCAP->pReplyMinOpInfo;
assert (pMinorOpInfo);