os: xdmcp: drop server reset support

Not needed anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-12 17:08:26 +01:00
committed by Enrico Weigelt
parent 062a930f3c
commit f161a014f1

View File

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