voipplugins/sipconnectionprovider/src/scpservicemanager.cpp
branchRCL_3
changeset 8 7117cbf1600a
parent 0 a4daefaec16c
child 9 bddb6d4447db
equal deleted inserted replaced
6:fc8c25e5a2e8 8:7117cbf1600a
   626 
   626 
   627     TBool sipConnectionCreated( EFalse );
   627     TBool sipConnectionCreated( EFalse );
   628     CScpSipConnection* sipConnection = GetSipConnectionL( aServiceId,
   628     CScpSipConnection* sipConnection = GetSipConnectionL( aServiceId,
   629                                                           aSubServiceType, 
   629                                                           aSubServiceType, 
   630                                                           sipConnectionCreated );
   630                                                           sipConnectionCreated );
   631 
   631     
   632     TInt result = sipConnection->GetIap( aIapId );
   632     TInt result = sipConnection->GetIap( aIapId );
   633     if( result != KErrNone )
   633     if( result != KErrNone )
   634         {
   634         {
   635         aIapId = 0;
   635         aIapId = 0;
   636         }
   636         }
   638     result = sipConnection->GetSnap( aSnapId );
   638     result = sipConnection->GetSnap( aSnapId );
   639     if( result != KErrNone )
   639     if( result != KErrNone )
   640         {
   640         {
   641         aSnapId = 0;
   641         aSnapId = 0;
   642         }
   642         }
   643 
   643 		
       
   644     aPasswordSet = sipConnection->IsPasswordSet(); 
       
   645     
   644     if( sipConnectionCreated )
   646     if( sipConnectionCreated )
   645         {
   647         {
   646         delete sipConnection;
   648         delete sipConnection;
   647         }
   649         }
   648 
   650 
   679         else
   681         else
   680             {
   682             {
   681             aSnapLocked = EFalse;
   683             aSnapLocked = EFalse;
   682             }
   684             }
   683         }
   685         }
   684 
       
   685     aPasswordSet = sipConnection->IsPasswordSet(); 
       
   686         
   686         
   687     if( serviceCreated )
   687     if( serviceCreated )
   688         {
   688         {
   689         CleanupStack::PopAndDestroy( service );
   689         CleanupStack::PopAndDestroy( service );
   690         }
   690         }