ipsservices/ipssosplugin/src/ipsplgpop3plugin.cpp
changeset 76 38bf5461e270
parent 47 f83bd4ae1fe3
--- a/ipsservices/ipssosplugin/src/ipsplgpop3plugin.cpp	Thu Sep 30 11:43:07 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgpop3plugin.cpp	Thu Oct 14 17:33:43 2010 +0300
@@ -140,7 +140,7 @@
     const TFSMailMsgId& aMailBoxId,
     MFSMailRequestObserver& aOperationObserver,
     TInt aRequestId,
-    const TBool /*aSilentConnection*/ )
+    const TBool aSilentConnection )
     {
     FUNC_LOG;
     TMsvId service = aMailBoxId.Id();
@@ -181,9 +181,14 @@
         aMailBoxId, 
         &aOperationObserver,
         aRequestId,
-        iEventHandler );
+        iEventHandler,
+// <qmail> silent connection parameter added
+        ETrue,
+        EFalse,
+        aSilentConnection );
+// </qmail>    
     
-    watcher->SetOperation( op );
+    watcher->SetOperation( op ); // watcher takes ownership, no PushL needed
     CleanupStack::PopAndDestroy( sel ); // >>> sel
     
     iOperations.AppendL( watcher );
@@ -349,7 +354,7 @@
         aRequestId,
         iEventHandler );
     
-    watcher->SetOperation( op );
+    watcher->SetOperation( op ); // watcher takes ownership, no PushL needed
 	// <qmail> change PopAndDestroy to Pop
     CleanupStack::Pop( sel );
     CleanupStack::Pop( watcher );