mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
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:
committed by
Enrico Weigelt
parent
062a930f3c
commit
f161a014f1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user