From ad86b5b6ae09d7b176c0b0e1c286c9c24f79a762 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 16 Jul 2025 12:05:52 +0200 Subject: [PATCH] record: use NULL instead of NullClient No need to have another name for NULL, we can use NULL directly. Signed-off-by: Enrico Weigelt, metux IT consult --- record/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record/record.c b/record/record.c index 45f5315455..6787f13eab 100644 --- a/record/record.c +++ b/record/record.c @@ -1226,7 +1226,7 @@ RecordCanonicalizeClientSpecifiers(XID *pClientspecs, int *pNumClientspecs, for (nc = 0, j = 1; j < currentMaxClients; j++) { ClientPtr client = clients[j]; - if (client != NullClient && + if (client != NULL && client->clientState == ClientStateRunning && client->clientAsMask != excludespec) { pCanon[nc++] = client->clientAsMask;