fix crash when FIVEWAY not on.

This commit is contained in:
ehouse 2006-11-12 14:28:43 +00:00
parent 1d29511733
commit c06df68133

View file

@ -245,7 +245,7 @@ palm_bt_doWork( PalmAppGlobals* globals, BtUIState* btUIStateP )
PalmBTStuff* btStuff = globals->btStuff;
XP_Bool haveWork = !!btStuff && HASWORK(btStuff);
XP_ASSERT( haveWork
XP_ASSERT( !btStuff || haveWork
|| (btStuff->vol.out.lens[0] == 0 )
|| btStuff->vol.sendInProgress
|| (SOCK_INVAL == btStuff->dataSocket)