mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-25 09:58:11 +01:00
fix bug: don't close socket on duplicate connect message. Just drop
it as is done with dup reconnect message.
This commit is contained in:
parent
3c26cd74ff
commit
01e50f51b7
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ CookieRef::_Connect( int socket, HostID hid, int nPlayersH, int nPlayersS,
|
|||
connected = HasSocket_locked( socket );
|
||||
} else {
|
||||
logf( XW_LOGINFO, "dropping connect event; already connected" );
|
||||
connected = true; /* don't close socket on dup packet, just drop */
|
||||
}
|
||||
return connected;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue