realtimenetprots/sipfw/ProfileAgent/AlrMonitor/src/sipalrsnapmonitor.cpp
branchRCL_3
changeset 12 c2e8c8b73582
parent 0 307788aac0a8
child 37 0295359a7673
--- a/realtimenetprots/sipfw/ProfileAgent/AlrMonitor/src/sipalrsnapmonitor.cpp	Mon Mar 15 12:42:05 2010 +0200
+++ b/realtimenetprots/sipfw/ProfileAgent/AlrMonitor/src/sipalrsnapmonitor.cpp	Wed Mar 31 22:10:27 2010 +0300
@@ -489,8 +489,8 @@
 void CSipAlrSnapMonitor::NotifyInitializedObservers( 
     TUint32 aIapId,
     MSipAlrObserver::TEvent aEvent )
-	{
-	for ( TInt i = 0; i < iObservers.Count(); i++ )
+	{	
+	for (TInt i = iObservers.Count() - 1; i >= 0; --i) 
 		{
 		if ( iObservers[i].iInitialEventDone )
 			{
@@ -508,7 +508,7 @@
 //
 void CSipAlrSnapMonitor::NotifyNewObservers( TUint32 aIapId )
 	{
-	for ( TInt i = 0; i < iObservers.Count(); i++ )
+	for ( TInt i = iObservers.Count() - 1; i >= 0; --i )
 		{
 		if ( !iObservers[i].iInitialEventDone )
 			{