mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-15 20:48:00 +01:00
fix asserts
This commit is contained in:
parent
674c811a09
commit
ce579213b1
1 changed files with 7 additions and 0 deletions
|
@ -1557,6 +1557,13 @@ assertAddrOk( const CommsAddrRec* addr )
|
|||
case COMMS_CONN_P2P:
|
||||
XP_ASSERT( 0 != addr->u.p2p.mac_addr[0] );
|
||||
break;
|
||||
case COMMS_CONN_BT:
|
||||
/* XP_ASSERT( 0 != addr->u.bt.btAddr.chars[0] */
|
||||
/* || 0 != addr->u.bt.hostName[0] ); */
|
||||
break;
|
||||
case COMMS_CONN_RELAY:
|
||||
case COMMS_CONN_NFC:
|
||||
break;
|
||||
default:
|
||||
XP_LOGFF( "no case for %s", ConnType2Str(typ) );
|
||||
XP_ASSERT(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue