--- a/locationmgmt/networkgateway/src/netrequestchannel.cpp Tue Aug 31 16:38:06 2010 +0300
+++ b/locationmgmt/networkgateway/src/netrequestchannel.cpp Wed Sep 01 12:35:25 2010 +0100
@@ -122,7 +122,11 @@
if((static_cast<const TLbsNetLocationRequestMsg*>(&aMessage))->IsEmergency())
{
iEmergencyLocationRequestMsg = static_cast<const TLbsNetLocationRequestMsg&>(aMessage);
- iEmergencyBuffer.Append(&iEmergencyLocationRequestMsg);
+ TInt err = iEmergencyBuffer.Append(&iEmergencyLocationRequestMsg);
+ if ( KErrNone != err)
+ {
+ LBSLOG(ELogP1, "LOCATION BUFFER APPEND FAILED!!");
+ }
emergency = ETrue;
}
}
@@ -131,7 +135,11 @@
if( (static_cast<const TLbsNetMtLrRequestMsg*>(&aMessage))->IsEmergency() )
{
iEmergencyPrivacyRequestMsg = static_cast<const TLbsNetMtLrRequestMsg&>(aMessage);
- iEmergencyBuffer.Append(&iEmergencyPrivacyRequestMsg);
+ TInt err = iEmergencyBuffer.Append(&iEmergencyPrivacyRequestMsg);
+ if ( KErrNone != err)
+ {
+ LBSLOG(ELogP1, "PRIVACY BUFFER APPEND FAILED!!");
+ }
emergency = ETrue;
}
}