1098 { |
1098 { |
1099 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap -\ |
1099 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap -\ |
1100 aCategory = %i blacklisted Id count = %d", |
1100 aCategory = %i blacklisted Id count = %d", |
1101 aCategory, iBlackListIdList.Count() ) |
1101 aCategory, iBlackListIdList.Count() ) |
1102 |
1102 |
1103 for( TInt i( 0 ); i < iBlackListIdList.Count(); i++ ) |
1103 for (TInt i = iBlackListIdList.Count()-1; i >= 0; i--) |
1104 { |
1104 { |
1105 // found blacklisted Connection Id |
1105 // found blacklisted Connection Id |
1106 TMPMBlackListConnId connIdInfo = iBlackListIdList[i]; |
1106 TMPMBlackListConnId connIdInfo = iBlackListIdList[i]; |
1107 iBlackListIdList.Remove( i ); // remove from the list |
1107 iBlackListIdList.Remove( i ); // remove from the list |
1108 |
1108 |
1109 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap - \ |
1109 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap - \ |
1110 aConnId = 0x%x, blacklisted IapId count = %d", connIdInfo.iConnId, |
1110 aConnId = 0x%x, blacklisted IapId count = %d", connIdInfo.iConnId, |
1111 connIdInfo.Count() ) |
1111 connIdInfo.Count() ) |
1112 |
1112 |
1113 for (TInt j = 0; j < connIdInfo.Count(); j++) |
1113 for (TInt j = connIdInfo.Count()-1; j >= 0; j--) |
1114 { |
1114 { |
1115 if ( connIdInfo.Category( j ) == aCategory ) |
1115 if ( connIdInfo.Category( j ) == aCategory ) |
1116 { |
1116 { |
1117 // found and remove blacklisted iap |
1117 // found and remove blacklisted iap |
1118 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap - \ |
1118 MPMLOGSTRING3( "CMPMServer::HandleServerUnblackListIap - \ |