record: fix reply structs

Fixes: 4d4fd5866e84e1f151536772c9d3a36106b804e6
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);
RecordContextPtr pContext;
xRecordGetContextReply rep;
RecordClientsAndProtocolPtr pRCAP;
int nRCAPs = 0;
GetContextRangeInfoPtr pRangeInfo;
@ -2275,7 +2274,7 @@ ProcRecordGetContext(ClientPtr client)
swapl(&reply.length);
swapl(&reply.nClients);
}
WriteToClient(client, sizeof(xRecordGetContextReply), &rep);
WriteToClient(client, sizeof(xRecordGetContextReply), &reply);
/* write all the CLIENT_INFOs */