mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
android doesn't send its devid in the nli struct, so don't assert it's
there.
This commit is contained in:
parent
587f3b7630
commit
1eb82d5285
2 changed files with 2 additions and 3 deletions
|
@ -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];
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue