mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
disconnect from relay no matter what the state
This commit is contained in:
parent
29acab1ef2
commit
c839db4a25
1 changed files with 1 additions and 2 deletions
|
@ -666,8 +666,7 @@ comms_start( CommsCtxt* comms )
|
||||||
void
|
void
|
||||||
comms_stop( CommsCtxt* comms )
|
comms_stop( CommsCtxt* comms )
|
||||||
{
|
{
|
||||||
if ( COMMS_CONN_RELAY == comms->addr.conType
|
if ( COMMS_CONN_RELAY == comms->addr.conType ) {
|
||||||
&& COMMS_RELAYSTATE_DENIED != comms->r.relayState ) {
|
|
||||||
relayDisconnect( comms );
|
relayDisconnect( comms );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue