From f161a014f1992386e379b60bf66a17b6c3275e80 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 12 Nov 2025 17:08:26 +0100 Subject: [PATCH] os: xdmcp: drop server reset support Not needed anymore. Signed-off-by: Enrico Weigelt, metux IT consult --- os/xdmcp.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/os/xdmcp.c b/os/xdmcp.c index f02ef2a7bd..2aad5df71e 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -438,7 +438,6 @@ XdmcpSetAuthentication(const ARRAY8Ptr name) static ARRAY16 ConnectionTypes; static ARRAYofARRAY8 ConnectionAddresses; -static x_server_generation_t xdmcpGeneration; void XdmcpRegisterConnection(int type, const char *address, int addrlen) @@ -446,11 +445,9 @@ XdmcpRegisterConnection(int type, const char *address, int addrlen) int i; CARD8 *newAddress; - if (xdmcpGeneration != serverGeneration) { - XdmcpDisposeARRAY16(&ConnectionTypes); - XdmcpDisposeARRAYofARRAY8(&ConnectionAddresses); - xdmcpGeneration = serverGeneration; - } + XdmcpDisposeARRAY16(&ConnectionTypes); + XdmcpDisposeARRAYofARRAY8(&ConnectionAddresses); + if (xdm_from != NULL) { /* Only register the requested address */ const void *regAddr = address; const void *fromAddr = NULL;