equal
deleted
inserted
replaced
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 } |