diff -r 95d45f234cf3 -r cb7afde124a3 bearermanagement/S60MCPR/src/s60mcprstates.cpp --- 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())