--- a/bearermanagement/S60MCPR/src/s60mcpr.cpp Mon Jan 18 20:33:49 2010 +0200
+++ b/bearermanagement/S60MCPR/src/s60mcpr.cpp Tue Jan 26 12:12:48 2010 +0200
@@ -464,10 +464,14 @@
// Store PolicyNotification
// This could happen if PolicyServer sends notification too early.
//
+ S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification()",(TInt*)this);
if ( iPendingNotification.Length() == 0 )
{
- ASSERT(Mem::Copy((TAny*)iPendingNotification.Ptr(), &aNotification, aNotification.Length()));
- iPendingNotification.SetLength( aNotification.Length() );
+ S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() iPendingNotification.Length() == 0",(TInt*)this);
+ Mem::Copy((TAny*)iPendingNotification.Ptr(), &aNotification, KMpmMessageLength);
+ S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() Mem::Copy",(TInt*)this);
+ iPendingNotification.SetLength( KMpmMessageLength );
+ S60MCPRLOGSTRING1("S60MCPR<%x>::StorePolicyNotification() iPendingNotification.SetLength",(TInt*)this);
}
#ifdef _DEBUG
else