mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
recognize already-seen devices. This seems to occasionally fix
reconnect problems but needs to be studied/tested more -- check logs.
This commit is contained in:
parent
464ef49018
commit
5d8cd5a17f
1 changed files with 3 additions and 0 deletions
|
@ -257,6 +257,9 @@ CRefMgr::getMakeCookieRef( const char* cookie, int nPlayersH, int nPlayersT,
|
|||
if ( NULL == cinfo->GetRef() ) {
|
||||
m_cidlock->Relinquish( cinfo, true );
|
||||
continue;
|
||||
} else if ( *seenSeed ) { /* this my home? */
|
||||
logf( XW_LOGINFO, "%s: *seenSeed case", __func__ );
|
||||
break;
|
||||
} else if ( !cinfo->GetRef()->HaveRoom( nPlayersH ) ) {
|
||||
m_cidlock->Relinquish( cinfo, false );
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue