bearermanagement/S60MCPR/src/s60mcprstates.cpp
branchRCL_3
changeset 57 05bc53fe583b
parent 24 c45d4fe2ff0a
child 58 83ca720e2b9a
--- a/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Thu Aug 19 10:18:49 2010 +0300
+++ b/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Tue Aug 31 15:35:44 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())