mmsengine/mmsserver/src/mmsmmboxlist.cpp
branchRCL_3
changeset 26 ebe688cedc25
parent 0 72b543305e3a
child 27 7fdbb852d323
--- a/mmsengine/mmsserver/src/mmsmmboxlist.cpp	Thu Aug 19 09:51:11 2010 +0300
+++ b/mmsengine/mmsserver/src/mmsmmboxlist.cpp	Tue Aug 31 15:11:31 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
         {