mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
don't kill socket when client connects before server
This commit is contained in:
parent
dcebf5bc78
commit
8b34f57bf9
1 changed files with 3 additions and 0 deletions
|
@ -197,6 +197,9 @@ forwardMessage( unsigned char* buf, int bufLen )
|
||||||
*buf = XWRELAY_MSG_FROMRELAY;
|
*buf = XWRELAY_MSG_FROMRELAY;
|
||||||
send_with_length( socket, buf, bufLen );
|
send_with_length( socket, buf, bufLen );
|
||||||
success = 1;
|
success = 1;
|
||||||
|
} else if ( dest == HOST_ID_SERVER ) {
|
||||||
|
logf( "server not connected yet; fail silently" );
|
||||||
|
success = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return success;
|
return success;
|
||||||
|
|
Loading…
Add table
Reference in a new issue