mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
What I meant to check in. Need to save first....
This commit is contained in:
parent
da551e1177
commit
f1cda6dad4
1 changed files with 1 additions and 6 deletions
|
@ -392,7 +392,6 @@ comms_makeFromStream( MPFORMAL XWStreamCtxt* stream, XW_UtilCtxt* util,
|
||||||
void
|
void
|
||||||
comms_start( CommsCtxt* comms )
|
comms_start( CommsCtxt* comms )
|
||||||
{
|
{
|
||||||
LOG_FUNC();
|
|
||||||
if ( 0 ) {
|
if ( 0 ) {
|
||||||
#ifdef XWFEATURE_RELAY
|
#ifdef XWFEATURE_RELAY
|
||||||
} else if ( comms->addr.conType == COMMS_CONN_RELAY ) {
|
} else if ( comms->addr.conType == COMMS_CONN_RELAY ) {
|
||||||
|
@ -404,7 +403,6 @@ comms_start( CommsCtxt* comms )
|
||||||
btConnect( comms );
|
btConnect( comms );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
LOG_RETURN_VOID();
|
|
||||||
} /* comms_start */
|
} /* comms_start */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -760,7 +758,7 @@ comms_resendAll( CommsCtxt* comms )
|
||||||
{
|
{
|
||||||
MsgQueueElem* msg;
|
MsgQueueElem* msg;
|
||||||
XP_S16 result = 0;
|
XP_S16 result = 0;
|
||||||
LOG_FUNC();
|
|
||||||
XP_ASSERT( !!comms );
|
XP_ASSERT( !!comms );
|
||||||
|
|
||||||
for ( msg = comms->msgQueueHead; !!msg; msg = msg->next ) {
|
for ( msg = comms->msgQueueHead; !!msg; msg = msg->next ) {
|
||||||
|
@ -772,7 +770,6 @@ comms_resendAll( CommsCtxt* comms )
|
||||||
msg->msgID, oneResult );
|
msg->msgID, oneResult );
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_RETURNF( "%d", result );
|
|
||||||
return result;
|
return result;
|
||||||
} /* comms_resend */
|
} /* comms_resend */
|
||||||
|
|
||||||
|
@ -937,8 +934,6 @@ comms_checkIncomingStream( CommsCtxt* comms, XWStreamCtxt* stream,
|
||||||
XP_Bool channelWas0 = XP_FALSE;
|
XP_Bool channelWas0 = XP_FALSE;
|
||||||
XP_Bool done = XP_FALSE;
|
XP_Bool done = XP_FALSE;
|
||||||
|
|
||||||
/* Firing when switch from bt to solo in mid game and other device
|
|
||||||
sends. BT should be shut down!! */
|
|
||||||
XP_ASSERT( addr == NULL || comms->addr.conType == addr->conType );
|
XP_ASSERT( addr == NULL || comms->addr.conType == addr->conType );
|
||||||
|
|
||||||
if ( 0 ) {
|
if ( 0 ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue