mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix NPE when relay's re-added to a game
This commit is contained in:
parent
03492b97e8
commit
a243b19fd0
1 changed files with 4 additions and 3 deletions
|
@ -289,9 +289,10 @@ public class CommsAddrRec {
|
|||
CommsConnType conType = iter.next();
|
||||
switch( conType ) {
|
||||
case COMMS_CONN_RELAY:
|
||||
matter = ! ip_relay_invite.equals( other.ip_relay_invite )
|
||||
|| ! ip_relay_hostName.equals( other.ip_relay_hostName )
|
||||
|| ip_relay_port != other.ip_relay_port;
|
||||
matter = null == ip_relay_invite
|
||||
|| ! ip_relay_invite.equals( other.ip_relay_invite )
|
||||
|| ! ip_relay_hostName.equals( other.ip_relay_hostName )
|
||||
|| ip_relay_port != other.ip_relay_port;
|
||||
break;
|
||||
default:
|
||||
DbgUtils.logf( "changesMatter: not handling case: %s",
|
||||
|
|
Loading…
Reference in a new issue