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:
eehouse 2010-02-08 13:21:54 +00:00
parent 3c26cd74ff
commit 01e50f51b7

View file

@ -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;
}