locationmgmt/networkgateway/src/netrequestchannel.cpp
branchRCL_3
changeset 55 c92d4f3c47c5
parent 54 0c2046328c85
child 65 a796fdeeb33c
--- 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;
 				}
 			}