bearermanagement/S60MCPR/src/s60mcpr.cpp
changeset 3 f7816ffc66ed
parent 0 5a93021fdf25
child 12 ea6e024ea6f9
child 18 fcbbe021d614
--- 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