mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
replace assertion with logging
This commit is contained in:
parent
de3ebe5113
commit
a6d1736a7e
1 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,11 @@ nli_init( NetLaunchInfo* nli, const CurGameInfo* gi, const CommsAddrRec* addr,
|
|||
#endif
|
||||
case COMMS_CONN_SMS:
|
||||
XP_STRCAT( nli->phone, addr->u.sms.phone );
|
||||
XP_ASSERT( 1 == addr->u.sms.port );
|
||||
if ( 1 != addr->u.sms.port ) {
|
||||
/* PENDING I've seen an assert about this fire, but no time
|
||||
to investigate now */
|
||||
XP_LOGFF( "unexpected port value: %d", addr->u.sms.port );
|
||||
}
|
||||
// nli->port = addr->u.sms.port; <-- I wish
|
||||
break;
|
||||
case COMMS_CONN_MQTT:
|
||||
|
|
Loading…
Reference in a new issue