diff -r 0a1ad22c7bdc -r 2c7192069824 rtp/rtpstack/src/rtpmanager.cpp --- a/rtp/rtpstack/src/rtpmanager.cpp Wed Sep 15 12:36:02 2010 +0300 +++ b/rtp/rtpstack/src/rtpmanager.cpp Wed Oct 13 14:57:13 2010 +0300 @@ -228,20 +228,17 @@ // TInt CRtpManager::PrepareConnection() // --------------------------------------------------------------------------- // -TInt CRtpManager::PrepareConnection( TCommDbConnPref& aPrefs, TInt aIapId ) +TInt CRtpManager::PrepareConnection( TConnPrefList& aPrefs, TInt aIapId ) { RTP_DEBUG_DETAIL( "CRtpManager::PrepareConnection" ); TInt err( KErrCouldNotConnect ); if ( aIapId != KUseDefaultIap ) - { - aPrefs.SetDialogPreference( ECommDbDialogPrefDoNotPrompt ); - aPrefs.SetIapId( aIapId ); - } - - aPrefs.SetDirection( ECommDbConnectionDirectionOutgoing ); - + { + iPreferences.SetIapId( aIapId ); + aPrefs.AppendL( &iPreferences ); + } err = iSocketServPtr->Connect(); if ( err != KErrNone )