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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-16 12:05:52 +02:00
committed by Enrico Weigelt
parent bdf867ba60
commit ad86b5b6ae

View File

@@ -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;