mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix some asserts: we have BT working now
This commit is contained in:
parent
f625332782
commit
1d1af9ffb3
1 changed files with 11 additions and 0 deletions
|
@ -1760,6 +1760,10 @@ preProcess( CommsCtxt* comms, const CommsAddrRec* useAddr,
|
|||
#if defined XWFEATURE_SMS
|
||||
case COMMS_CONN_SMS:
|
||||
break; /* nothing to grab */
|
||||
#endif
|
||||
#ifdef XWFEATURE_BLUETOOTH
|
||||
case COMMS_CONN_BT:
|
||||
break; /* nothing to grab */
|
||||
#endif
|
||||
default:
|
||||
XP_ASSERT(0);
|
||||
|
@ -2459,6 +2463,13 @@ augmentChannelAddr( CommsCtxt* comms, AddressRecord* rec, const CommsAddrRec* ad
|
|||
src = &addr->u.sms;
|
||||
siz = sizeof(rec->addr.u.sms);
|
||||
break;
|
||||
#ifdef XWFEATURE_BLUETOOTH
|
||||
case COMMS_CONN_BT:
|
||||
dest = &rec->addr.u.bt;
|
||||
src = &addr->u.bt;
|
||||
siz = sizeof(rec->addr.u.bt);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
XP_ASSERT(0);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue