From dfbc6a1a78ff3192baae6f7f2af98b6e51422f75 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Wed, 23 Jul 2014 11:53:33 -0700 Subject: [PATCH] ListenOnOpenFD: Remove Resets since this is intended to be for hotplugging connections pharris says that the resets should not be done in the hotplugging case. This may fix a crash reported against XQuartz: http://xquartz.macosforge.org/trac/ticket/869 Signed-off-by: Jeremy Huddleston Sequoia Reviewed-by: Peter Harris --- os/connection.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/os/connection.c b/os/connection.c index 40d9ff39b..f915e1295 100644 --- a/os/connection.c +++ b/os/connection.c @@ -1307,13 +1307,6 @@ ListenOnOpenFD(int fd, int noxauth) /* Increment the count */ ListenTransCount++; - - /* This *might* not be needed... /shrug */ - ResetAuthorization(); - ResetHosts(display); -#ifdef XDMCP - XdmcpReset(); -#endif } /* based on TRANS(SocketUNIXAccept) (XtransConnInfo ciptr, int *status) */