mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
Don't return new error XWRELAY_ERROR_NORECONN as devices don't have it
yet.
This commit is contained in:
parent
e44ed96691
commit
df60ec648b
1 changed files with 4 additions and 1 deletions
|
@ -395,7 +395,10 @@ processReconnect( unsigned char* bufp, int bufLen, int socket )
|
|||
success = scr.Reconnect( socket, srcID, nPlayersH, nPlayersT,
|
||||
gameSeed );
|
||||
if ( !success ) {
|
||||
err = XWRELAY_ERROR_NORECONN;
|
||||
// Can't use XWRELAY_ERROR_NORECONN until it's been out on
|
||||
// devices for a while. Reconnect() never seems to fail
|
||||
// anyway now that I've fixed a bunch of bugs.
|
||||
err = XWRELAY_ERROR_BADPROTO; // XWRELAY_ERROR_NORECONN
|
||||
}
|
||||
} else {
|
||||
err = XWRELAY_ERROR_BADPROTO;
|
||||
|
|
Loading…
Add table
Reference in a new issue