mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
cleanup
This commit is contained in:
parent
2721561324
commit
edde3e2fd5
2 changed files with 3 additions and 3 deletions
|
@ -710,7 +710,7 @@ model_makeTurnFromStream( ModelCtxt* model, XP_U16 playerNum,
|
||||||
|
|
||||||
numTiles = (XP_U16)stream_getBits( stream, NTILES_NBITS );
|
numTiles = (XP_U16)stream_getBits( stream, NTILES_NBITS );
|
||||||
|
|
||||||
XP_STATUSF( "model_makeTurnFromStream: numTiles=%d", numTiles );
|
XP_LOGF( "%s: numTiles=%d", __func__, numTiles );
|
||||||
|
|
||||||
while ( numTiles-- ) {
|
while ( numTiles-- ) {
|
||||||
XP_S16 foundAt;
|
XP_S16 foundAt;
|
||||||
|
|
|
@ -521,7 +521,7 @@ handleRegistrationMsg( ServerCtxt* server, XWStreamCtxt* stream )
|
||||||
{
|
{
|
||||||
XP_Bool success = XP_TRUE;
|
XP_Bool success = XP_TRUE;
|
||||||
XP_U16 playersInMsg, i;
|
XP_U16 playersInMsg, i;
|
||||||
XP_STATUSF( "handleRegistrationMsg" );
|
LOG_FUNC();
|
||||||
|
|
||||||
/* code will have already been consumed */
|
/* code will have already been consumed */
|
||||||
playersInMsg = (XP_U16)stream_getBits( stream, NPLAYERS_NBITS );
|
playersInMsg = (XP_U16)stream_getBits( stream, NPLAYERS_NBITS );
|
||||||
|
@ -2374,7 +2374,7 @@ server_receiveMessage( ServerCtxt* server, XWStreamCtxt* incoming )
|
||||||
/* This message is special: doesn't have the header that's possible
|
/* This message is special: doesn't have the header that's possible
|
||||||
once the game's in progress and communication's been
|
once the game's in progress and communication's been
|
||||||
established. */
|
established. */
|
||||||
XP_STATUSF( "somebody's registering!!!" );
|
XP_LOGF( "%s: somebody's registering!!!", __func__ );
|
||||||
accepted = handleRegistrationMsg( server, incoming );
|
accepted = handleRegistrationMsg( server, incoming );
|
||||||
|
|
||||||
} else if ( code == XWPROTO_CLIENT_SETUP ) {
|
} else if ( code == XWPROTO_CLIENT_SETUP ) {
|
||||||
|
|
Loading…
Reference in a new issue