mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
compare only six bytes of struct ARM pads to 8.
This commit is contained in:
parent
eddc046e79
commit
3cf22d6302
1 changed files with 6 additions and 4 deletions
|
@ -807,11 +807,13 @@ pbt_checkAddress( PalmBTStuff* btStuff, const CommsAddrRec* addr )
|
|||
LOG_FUNC();
|
||||
XP_ASSERT( !!addr );
|
||||
|
||||
if ( 0 != XP_MEMCMP( &btStuff->otherAddr, &addr->u.bt.btAddr,
|
||||
sizeof(btStuff->otherAddr) ) ) {
|
||||
if ( 0 != XP_MEMCMP( &btStuff->otherAddr, &addr->u.bt.btAddr.bits,
|
||||
sizeof(addr->u.bt.btAddr.bits) ) ) {
|
||||
|
||||
LOG_HEX( &btStuff->otherAddr, sizeof(btStuff->otherAddr), "cur" );
|
||||
LOG_HEX( &addr->u.bt.btAddr, sizeof(addr->u.bt.btAddr), "new" );
|
||||
LOG_HEX( &btStuff->otherAddr, sizeof(addr->u.bt.btAddr.bits),
|
||||
"cur" );
|
||||
LOG_HEX( &addr->u.bt.btAddr.bits, sizeof(addr->u.bt.btAddr.bits),
|
||||
"new" );
|
||||
|
||||
pbt_killL2C( btStuff, btStuff->dataSocket );
|
||||
|
||||
|
|
Loading…
Reference in a new issue