mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
merge android branch heads
This commit is contained in:
commit
4123de3560
1 changed files with 7 additions and 4 deletions
|
@ -212,10 +212,13 @@ class SafeCref {
|
|||
if ( IsValid() ) {
|
||||
CookieRef* cref = m_cinfo->GetRef();
|
||||
assert( 0 != cref->GetCid() );
|
||||
assert( srcID <= nPlayersS );
|
||||
result = cref->_Connect( m_clientVersion, m_devID,
|
||||
nPlayersH, nPlayersS, seed, srcID,
|
||||
m_seenSeed, &m_addr );
|
||||
if ( srcID <= nPlayersS ) {
|
||||
result = cref->_Connect( m_clientVersion, m_devID,
|
||||
nPlayersH, nPlayersS, seed, srcID,
|
||||
m_seenSeed, &m_addr );
|
||||
} else {
|
||||
logf( XW_LOGERROR, "%s: bad srcID: %d", __func__, srcID );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue