Skip to content

Commit

Permalink
ListenOnOpenFD: Remove Resets since this is intended to be for hotplu…
Browse files Browse the repository at this point in the history
…gging 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>
  • Loading branch information
jeremyhu committed Aug 11, 2014
1 parent 3714f54 commit dfbc6a1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions os/connection.c
Expand Up @@ -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) */
Expand Down

0 comments on commit dfbc6a1

Please sign in to comment.