--- a/phoneclientserver/phoneserver/Src/Ussd/CPhSrvUssdManager.cpp Tue Feb 02 01:11:09 2010 +0200
+++ b/phoneclientserver/phoneserver/Src/Ussd/CPhSrvUssdManager.cpp Fri Feb 19 23:21:58 2010 +0200
@@ -709,7 +709,6 @@
_DPRINT( 4, "PhSrv.UssdNetworkObserverHandleSendEventL.End" );
}
-
// -----------------------------------------------------------------------------
// CPhSrvUssdManager::UssdAppTaskExists
//
@@ -1556,16 +1555,23 @@
// CPhSrvUssdManager::NotifyCount()
// -----------------------------------------------------------------------------
//
- TInt CPhSrvUssdManager:: NotifyCount()
+ TInt CPhSrvUssdManager::NotifyCount()
{
- return iNotifyArray->Count();
+ if( iNotifyArray )
+ {
+ return iNotifyArray->Count();
+ }
+ else
+ {
+ return 0;
+ }
}
// -----------------------------------------------------------------------------
// CPhSrvUssdManager::UpdateNotifyMessage()
// -----------------------------------------------------------------------------
//
- void CPhSrvUssdManager:: UpdateNotifyMessage()
+ void CPhSrvUssdManager::UpdateNotifyMessage()
{
_DDPRINT( 4, "PhSrv.UpdateNotifyMessage.Start, clear: ", iClearArray ); // debug print
if (NotifyCount() > 1 && !iClearArray )