disconnect from relay no matter what the state

This commit is contained in:
Eric House 2013-01-22 06:12:55 -08:00
parent 29acab1ef2
commit c839db4a25

View file

@ -666,8 +666,7 @@ comms_start( CommsCtxt* comms )
void
comms_stop( CommsCtxt* comms )
{
if ( COMMS_CONN_RELAY == comms->addr.conType
&& COMMS_RELAYSTATE_DENIED != comms->r.relayState ) {
if ( COMMS_CONN_RELAY == comms->addr.conType ) {
relayDisconnect( comms );
}
}