sipvoipprovider/src/svpcontroller.cpp
branchRCL_3
changeset 33 2989b291cac7
parent 28 d38647835c2e
--- a/sipvoipprovider/src/svpcontroller.cpp	Wed Sep 15 12:01:56 2010 +0300
+++ b/sipvoipprovider/src/svpcontroller.cpp	Wed Oct 13 14:20:32 2010 +0300
@@ -1401,7 +1401,7 @@
         
         // disable rtp source and speaker sink so that audio is not on
         // before session is up signalling-wise
-        for ( TInt i = 0; i < streams.Count(); )
+        for ( TInt i = 0; i < streams.Count(); i++ )
             {
             SVPDEBUG1( "CSVPController::IncomingSessionHandlerL disabling" );
             
@@ -1428,8 +1428,6 @@
             
                 SVPAudioUtility::DisableSpeakerSinkL( stream1->Sinks() );
                 SVPAudioUtility::DisableMicSourceL( *stream1 );
-                //remove all streams that not audio stream
-                i++;
                 }
             }