android doesn't send its devid in the nli struct, so don't assert it's

there.
This commit is contained in:
Eric House 2015-07-11 14:27:01 -07:00
parent 587f3b7630
commit 1eb82d5285
2 changed files with 2 additions and 3 deletions

View file

@ -49,7 +49,7 @@ typedef struct _InviteInfo {
/* Relay */
XP_UCHAR room[MAX_INVITE_LEN + 1];
XP_U32 devID;
XP_U32 devID; /* not used on android; remove?? */
/* BT */
XP_UCHAR btName[32];

View file

@ -344,8 +344,7 @@ relaycon_receive( GIOChannel* source, GIOCondition XP_UNUSED_DBG(condition), gpo
stream_putBytes( stream, ptr, len );
NetLaunchInfo invit;
XP_Bool success = nli_makeFromStream( &invit, stream );
XP_LOGF( "sender: %d; invit.devID: %d", sender, invit.devID );
XP_ASSERT( sender == invit.devID );
XP_LOGF( "sender: %d", sender );
stream_destroy( stream );
if ( success ) {