Skip to content

Commit d8f2913

Browse files
committed
[PR #1439] os: xdmcp: drop server reset support
PR: #1439
1 parent e211a8c commit d8f2913

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

os/xdmcp.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -438,19 +438,16 @@ XdmcpSetAuthentication(const ARRAY8Ptr name)
438438

439439
static ARRAY16 ConnectionTypes;
440440
static ARRAYofARRAY8 ConnectionAddresses;
441-
static x_server_generation_t xdmcpGeneration;
442441

443442
void
444443
XdmcpRegisterConnection(int type, const char *address, int addrlen)
445444
{
446445
int i;
447446
CARD8 *newAddress;
448447

449-
if (xdmcpGeneration != serverGeneration) {
450-
XdmcpDisposeARRAY16(&ConnectionTypes);
451-
XdmcpDisposeARRAYofARRAY8(&ConnectionAddresses);
452-
xdmcpGeneration = serverGeneration;
453-
}
448+
XdmcpDisposeARRAY16(&ConnectionTypes);
449+
XdmcpDisposeARRAYofARRAY8(&ConnectionAddresses);
450+
454451
if (xdm_from != NULL) { /* Only register the requested address */
455452
const void *regAddr = address;
456453
const void *fromAddr = NULL;

0 commit comments

Comments
 (0)