bearermanagement/S60MCPR/src/s60mcprstates.cpp
changeset 41 bbb64eb3bdee
parent 28 860702281757
child 61 8b0c979bbe8c
--- a/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Thu Jun 10 16:00:16 2010 +0300
+++ b/bearermanagement/S60MCPR/src/s60mcprstates.cpp	Thu Jun 24 11:36:05 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())