summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-07-23 11:53:33 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-08-11 12:49:54 -0700
commitdfbc6a1a78ff3192baae6f7f2af98b6e51422f75 (patch)
tree3092f65dcacee334ebbe99622fae63b00de09c30
parent3714f5401690b288045090c4bcd9cb01c6e4860e (diff)
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 <jeremyhu@apple.com> Reviewed-by: Peter Harris <pharris@opentext.com>
-rw-r--r--os/connection.c7
1 files changed, 0 insertions, 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) */