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:
Eric House 2013-06-26 00:42:55 -07:00
parent 0bb4f5b0f5
commit b31858ee5e

View file

@ -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?",