voipplugins/sipconnectionprovider/ipvoicemailengine/src/ipvmbxeventmonitor.cpp
branchRCL_3
changeset 14 be41ab7b952f
parent 0 a4daefaec16c
child 15 43658d24f35d
--- a/voipplugins/sipconnectionprovider/ipvoicemailengine/src/ipvmbxeventmonitor.cpp	Tue Apr 27 16:28:03 2010 +0300
+++ b/voipplugins/sipconnectionprovider/ipvoicemailengine/src/ipvmbxeventmonitor.cpp	Tue May 11 16:04:22 2010 +0300
@@ -113,7 +113,7 @@
     CMceEvent& aEvent,
     TMceTransactionDataContainer* /*aContainer*/ )
     {
-    IPVMEPRINT( "CIpVmbxEventMonitor::NotifyReceived" );
+    IPVMEPRINT( "CIpVmbxEventMonitor::NotifyReceived - IN" );
     CMceEvent::TState eventState( CMceEvent::EIdle );
     eventState = aEvent.State();
     TBool firstNotify = EFalse;
@@ -136,6 +136,7 @@
                     {
                     
                     subscription->SetStateRegistered();
+                    IPVMEPRINT( "CIpVmbxEventMonitor::NotifyReceived - firstNotify" );
                     firstNotify = ETrue;
                     }
     
@@ -151,15 +152,14 @@
                         message = CIpVmbxEngine::EEngineSmsError;
                         }
                     }
-                else 
-                    if ( firstNotify )
-                        {
-                        message = CIpVmbxEngine::EEngineSubscribed;
-                        }
-                    else
-                        {
-                        message = CIpVmbxEngine::EEngineUndefined;
-                        }
+                else if ( firstNotify )
+                    {
+                    message = CIpVmbxEngine::EEngineSubscribed;
+                    }
+                else
+                    {
+                    message = CIpVmbxEngine::EEngineUndefined;
+                    }
                 }
                 break;
             case CMceEvent::ETerminated: