From ffe571664c2c7b18ae47de5427bc5cde4dd07adf Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 24 Jan 2023 11:38:11 -0800 Subject: [PATCH] remove asserts flagging problems I can't fix yet --- xwords4/common/comms.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index 0376fcb3e..c1829a826 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -512,7 +512,8 @@ comms_make( MPFORMAL XWEnv xwe, XW_UtilCtxt* util, XP_Bool isServer, for ( XP_U32 st = 0; addr_iter( hostAddr, &typ, &st ); ) { if ( !addr_hasType( &comms->selfAddr, typ ) ) { XP_LOGFF( "%s not in selfAddr", ConnType2Str(typ) ); - XP_ASSERT(0); + /* PENDING: fix this */ + // XP_ASSERT(0); <-- happening a lot (NFC missing) } } #endif @@ -1911,7 +1912,8 @@ sendMsg( const CommsCtxt* comms, XWEnv xwe, MsgQueueElem* elem, } else { if ( !isInvite && !addr_hasType( &comms->selfAddr, typ ) ) { XP_LOGFF( "self addr doesn't have msg type %s", ConnType2Str(typ) ); - XP_ASSERT( 0 ); + /* PENDING: fix this */ + // XP_ASSERT( 0 ); <-- happens a lot } #ifdef COMMS_CHECKSUM XP_LOGFF( TAGFMT() "sending msg with sum %s using typ %s", TAGPRMS,