record: fix reply structs

Fixes: 4d4fd5866e
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-03 17:38:50 +01:00
committed by Enrico Weigelt
parent 87468931cc
commit c654da4534

View File

@@ -2162,7 +2162,6 @@ ProcRecordGetContext(ClientPtr client)
swapl(&stuff->context); swapl(&stuff->context);
RecordContextPtr pContext; RecordContextPtr pContext;
xRecordGetContextReply rep;
RecordClientsAndProtocolPtr pRCAP; RecordClientsAndProtocolPtr pRCAP;
int nRCAPs = 0; int nRCAPs = 0;
GetContextRangeInfoPtr pRangeInfo; GetContextRangeInfoPtr pRangeInfo;
@@ -2275,7 +2274,7 @@ ProcRecordGetContext(ClientPtr client)
swapl(&reply.length); swapl(&reply.length);
swapl(&reply.nClients); swapl(&reply.nClients);
} }
WriteToClient(client, sizeof(xRecordGetContextReply), &rep); WriteToClient(client, sizeof(xRecordGetContextReply), &reply);
/* write all the CLIENT_INFOs */ /* write all the CLIENT_INFOs */