mmsengine/mmsconninit/src/mmsconninit.cpp
branchRCL_3
changeset 57 ebe688cedc25
parent 0 72b543305e3a
child 60 7fdbb852d323
equal deleted inserted replaced
54:fa1df4b99609 57:ebe688cedc25
   140         User::RequestComplete( iClientStatus, KErrCouldNotConnect );
   140         User::RequestComplete( iClientStatus, KErrCouldNotConnect );
   141         return;
   141         return;
   142         }
   142         }
   143  
   143  
   144     // Let's not start the AO if we do not find IAP
   144     // Let's not start the AO if we do not find IAP
   145     for( iIndex = 0; iIndex < iArray->Count(); iIndex++ )
   145     for( iIndex = 0; iIndex < iArray->Count(); ++iIndex )
   146         {
   146         {
   147         TUint32 ap; // IAP to be resolved
   147         TUint32 ap; // IAP to be resolved
   148         // index is safe
   148         // index is safe
   149         if( ( FindIapL( iArray->At( iIndex ), ap ) ) )
   149         if( ( FindIapL( iArray->At( iIndex ), ap ) ) )
   150             {
   150             {
   436     }
   436     }
   437 
   437 
   438 // -----------------------------------------------------------------------------
   438 // -----------------------------------------------------------------------------
   439 // CMmsConnectionInitiator::CheckWapStartPageL
   439 // CMmsConnectionInitiator::CheckWapStartPageL
   440 // 
   440 // 
   441 // Private fuction used only by GetParametersL. Made just for splitting too big
   441 // Private function used only by GetParametersL. Made just for splitting too big
   442 // GetParameters function. 
   442 // GetParameters function. 
   443 // Adds http scheme in the beginning of wap start page if it is missing. It does
   443 // Adds http scheme in the beginning of wap start page if it is missing. It does
   444 // not add it into comms database. 
   444 // not add it into comms database. 
   445 // 
   445 // 
   446 // -----------------------------------------------------------------------------
   446 // -----------------------------------------------------------------------------
   482         }
   482         }
   483     }
   483     }
   484 
   484 
   485 // -----------------------------------------------------------------------------
   485 // -----------------------------------------------------------------------------
   486 // CMmsConnectionInitiator::FindIapL
   486 // CMmsConnectionInitiator::FindIapL
   487 // WAP Acces Point is given as in-parameter and IAP is 
   487 // WAP access Point is given as in-parameter and IAP is 
   488 // retruned as out-parameter
   488 // retruned as out-parameter
   489 // Return value is EFalse if something goes wrong
   489 // Return value is EFalse if something goes wrong
   490 // Leavings are trapped in case of error in reading CommsDb
   490 // Leavings are trapped in case of error in reading CommsDb
   491 // -----------------------------------------------------------------------------
   491 // -----------------------------------------------------------------------------
   492 //
   492 //
   822             {
   822             {
   823 #ifdef _MMSCONNINIT_LOGGING_ 
   823 #ifdef _MMSCONNINIT_LOGGING_ 
   824             TMmsConnInitLogger::Log( _L("- Timer completed - retry %d"), iRetryCount );
   824             TMmsConnInitLogger::Log( _L("- Timer completed - retry %d"), iRetryCount );
   825 #endif
   825 #endif
   826             }
   826             }
   827         for( iIndex = iIndex; iIndex < iArray->Count(); iIndex++ )
   827         for( ; iIndex < iArray->Count(); ++iIndex )
   828             {
   828             {
   829             // index is safe
   829             // index is safe
   830             if( ( FindIapL( iArray->At( iIndex ), ap ) ) )
   830             if( ( FindIapL( iArray->At( iIndex ), ap ) ) )
   831                 {
   831                 {
   832                 StartConnectionL( ap );
   832                 StartConnectionL( ap );