bearermanagement/S60MCPR/src/s60mcprstates.cpp
changeset 47 cb7afde124a3
parent 23 7ec726f93df1
child 61 8b0c979bbe8c
--- a/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Wed Jun 23 18:39:24 2010 +0300
+++ b/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Tue Jul 06 14:42:41 2010 +0300
@@ -368,10 +368,10 @@
 
         // Only EIntSetting is supported 
         // 
-        if ( ( TMCprGetConnectionSetting::TConnectionSettingType)msg->iSettingType == 
-               TMCprGetConnectionSetting::EIntSetting
-               && node.PolicyPrefs().ServiceId() != 0 
-               && field.Compare( KIapProxyServiceSetting ) == 0  )
+        if ( msg
+             && msg->iSettingType == TMCprGetConnectionSetting::EIntSetting
+             && node.PolicyPrefs().ServiceId() != 0 
+             && field.Compare( KIapProxyServiceSetting ) == 0  )
             {
             S60MCPRLOGSTRING1("S60MCPR<%x>::TAwaitingServiceIdRequest::Accept() TMCprGetConnectionSetting EIntSetting", 
                 (TInt*)&iContext.Node())