mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-06 05:24:46 +01:00
fix compile failure: never meant to check this change in.
This commit is contained in:
parent
6797e069bc
commit
360602b3a0
1 changed files with 8 additions and 10 deletions
|
@ -377,16 +377,14 @@ public class CommsTransport implements TransportProcs,
|
|||
|
||||
switch ( addr.conType ) {
|
||||
case COMMS_CONN_RELAY:
|
||||
nSent = RelayService.sendPacket( m_context, addr.sms_phone,
|
||||
gameID, buf );
|
||||
// if ( NetStateCache.netAvail( m_context ) ) {
|
||||
// putOut( buf ); // add to queue
|
||||
// if ( null == m_thread ) {
|
||||
// m_thread = new CommsThread();
|
||||
// m_thread.start();
|
||||
// }
|
||||
// nSent = buf.length;
|
||||
// }
|
||||
if ( NetStateCache.netAvail( m_context ) ) {
|
||||
putOut( buf ); // add to queue
|
||||
if ( null == m_thread ) {
|
||||
m_thread = new CommsThread();
|
||||
m_thread.start();
|
||||
}
|
||||
nSent = buf.length;
|
||||
}
|
||||
break;
|
||||
case COMMS_CONN_SMS:
|
||||
nSent = SMSService.sendPacket( m_context, addr.sms_phone,
|
||||
|
|
Loading…
Reference in a new issue