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>
This commit is contained in:
parent
3714f54016
commit
dfbc6a1a78
|
@ -1307,13 +1307,6 @@ ListenOnOpenFD(int fd, int noxauth)
|
||||||
|
|
||||||
/* Increment the count */
|
/* Increment the count */
|
||||||
ListenTransCount++;
|
ListenTransCount++;
|
||||||
|
|
||||||
/* This *might* not be needed... /shrug */
|
|
||||||
ResetAuthorization();
|
|
||||||
ResetHosts(display);
|
|
||||||
#ifdef XDMCP
|
|
||||||
XdmcpReset();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* based on TRANS(SocketUNIXAccept) (XtransConnInfo ciptr, int *status) */
|
/* based on TRANS(SocketUNIXAccept) (XtransConnInfo ciptr, int *status) */
|
||||||
|
|
Loading…
Reference in New Issue