fix crash when FIVEWAY not on.

This commit is contained in:
ehouse 2006-11-12 14:28:43 +00:00
parent f0d3148a49
commit 86e2a2d26a

View file

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