phoneplugins/csplugin/src/cspvideocall.cpp
changeset 60 1eef62f5c541
parent 21 92ab7f8d0eab
--- a/phoneplugins/csplugin/src/cspvideocall.cpp	Fri Aug 06 13:16:44 2010 +0300
+++ b/phoneplugins/csplugin/src/cspvideocall.cpp	Mon Aug 23 15:42:12 2010 +0300
@@ -140,7 +140,7 @@
 // CSPVideoCall::ConnectionReady
 // ---------------------------------------------------------------------------
 //
-void CSPVideoCall::ConnectionReady( TName aDataPortName )
+void CSPVideoCall::ConnectionReady( TName& aDataPortName )
     {
     CSPLOGSTRING3(CSPINT, "CSPVideoCall::ConnectionReady \
         state = %d, next state: %d", iCallState, iNextCallState);
@@ -303,7 +303,7 @@
         }    
         
     // Filter out illegal requests    
-     if ( !CCPCall::ECallTypeVideo == iParams->CallType() )
+     if ( !(CCPCall::ECallTypeVideo == iParams->CallType()) )
         {
         CSPLOGSTRING(CSPERROR, "CSPVideoCall::ConstructL() error invalid call type");
         User::Leave( KErrArgument );