bearermanagement/mpm/src/mpmserver.cpp
changeset 44 a0c4ceac30d0
parent 41 bbb64eb3bdee
child 56 dd6aaa97e7b1
--- a/bearermanagement/mpm/src/mpmserver.cpp	Thu Jun 24 11:36:05 2010 +0300
+++ b/bearermanagement/mpm/src/mpmserver.cpp	Fri Jul 09 10:25:55 2010 +0300
@@ -1100,7 +1100,7 @@
 aCategory = %i blacklisted Id count = %d", 
                    aCategory, iBlackListIdList.Count() )
 
-    for( TInt i( 0 ); i < iBlackListIdList.Count(); i++ )
+    for (TInt i = iBlackListIdList.Count()-1; i >= 0; i--)
         {
         // found blacklisted Connection Id
         TMPMBlackListConnId connIdInfo = iBlackListIdList[i];
@@ -1110,7 +1110,7 @@
 aConnId = 0x%x, blacklisted IapId count = %d", connIdInfo.iConnId, 
         connIdInfo.Count() )
         
-        for (TInt j = 0; j < connIdInfo.Count(); j++)
+        for (TInt j = connIdInfo.Count()-1; j >= 0; j--)
             {
             if ( connIdInfo.Category( j ) == aCategory ) 
                 {