mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
log rather than assert when hostid changes -- though I'm not seeing
this now that the relay doesn't send packets to the wrong device
This commit is contained in:
parent
0bb4f5b0f5
commit
b31858ee5e
1 changed files with 5 additions and 2 deletions
|
@ -1437,8 +1437,11 @@ relayPreProcess( CommsCtxt* comms, XWStreamCtxt* stream, XWHostID* senderID )
|
|||
|
||||
case XWRELAY_ALLHERE:
|
||||
srcID = (XWHostID)stream_getU8( stream );
|
||||
XP_ASSERT( comms->r.myHostID == HOST_ID_NONE
|
||||
|| comms->r.myHostID == srcID );
|
||||
if ( comms->r.myHostID != HOST_ID_NONE
|
||||
&& comms->r.myHostID != srcID ) {
|
||||
XP_LOGF( "%s: changing hostid from %d to %d", __func__,
|
||||
comms->r.myHostID, srcID );
|
||||
}
|
||||
|
||||
if ( 0 == comms->r.cookieID ) {
|
||||
XP_LOGF( "%s: cookieID still 0; background send?",
|
||||
|
|
Loading…
Reference in a new issue