Fix crash when logging out from ICS
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 28 Jul 2016 17:49:02 +0000 (19:49 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 28 Jul 2016 17:49:02 +0000 (19:49 +0200)
commit84fa2420dd1ef644ed41ab4d46aa62e02365a5ba
treeb124e07777e45bdc0263a1b53f1fb54276fe8ce2
parent5297eb5a91178cf9a403da89709a4661efde0210
Fix crash when logging out from ICS

The patch that sent "logout" to the ICS on a fatal error backfired when
the 'fatal error' was a disconnect, and caused a crash on Mac. We now
suppress sending of this "logout" command in the disconnect case,
communicated in a kludgy way (by requesting exit status 6666).
backend.c
dialogs.c