From a17a01bed434e0318efe9d4f638f065c966cfaa7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 21 Aug 2025 18:35:19 +0200 Subject: [PATCH] xext: bigreq: use X_SEND_REPLY_SIMPLE() Use X_SEND_REPLY_SIMPLE() for sending out simple replies. Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/bigreq.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Xext/bigreq.c b/Xext/bigreq.c index 741c4f7bc..00e473e4d 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -52,16 +52,12 @@ ProcBigReqDispatch(ClientPtr client) client->big_requests = TRUE; xBigReqEnableReply rep = { - .type = X_Reply, - .sequenceNumber = client->sequence, - .length = 0, .max_request_size = maxBigRequestSize }; if (client->swapped) { - swaps(&rep.sequenceNumber); swapl(&rep.max_request_size); } - WriteToClient(client, sizeof(xBigReqEnableReply), &rep); + X_SEND_REPLY_SIMPLE(client, rep); return Success; }