mmsengine/mmsserver/src/mmsmmboxlist.cpp
changeset 25 84d9eb65b26f
parent 0 72b543305e3a
child 47 5b14749788d7
child 60 7fdbb852d323
--- a/mmsengine/mmsserver/src/mmsmmboxlist.cpp	Fri Apr 16 14:56:15 2010 +0300
+++ b/mmsengine/mmsserver/src/mmsmmboxlist.cpp	Mon May 03 12:29:07 2010 +0300
@@ -135,8 +135,13 @@
     // When iError not equal to KErrNone, the operation will complete after running through RunL
     if ( iError == KErrNone )
         {
-        iServerEntry->GetChildrenWithMtm( KUidMsgMMSNotification, *iOldNotifications );
-        iOldQuotaEntryId = OldQuotaEntryL();
+        TInt err;
+        err = iServerEntry->GetChildrenWithMtm( KUidMsgMMSNotification, *iOldNotifications );
+        if (err != KErrNone)
+            {
+            return;
+            }
+			iOldQuotaEntryId = OldQuotaEntryL();
         }
     else
         {