mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
don't crash when there's a SMS game with pending messages
This commit is contained in:
parent
5ebbf87c24
commit
bcfd27ee7f
1 changed files with 8 additions and 0 deletions
|
@ -1064,6 +1064,14 @@ public class GameUtils {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public int transportSend( byte[] buf, final CommsAddrRec addr, int gameID )
|
||||
{
|
||||
DbgUtils.logf( "ResendTask.MsgSink.transportSend: dropping message "
|
||||
+ "of len %d on addr type %s", buf.length,
|
||||
addr.conType.toString() );
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue