--- a/email/imap4mtm/imapsession/src/cimapfetchbody.cpp Tue Aug 31 15:11:31 2010 +0300
+++ b/email/imap4mtm/imapsession/src/cimapfetchbody.cpp Wed Sep 01 12:31:54 2010 +0100
@@ -66,8 +66,7 @@
iImapMailStore(aImapMailStore),
iParent(aParent),
iFetchBodyResponse(aFetchBodyResponse),
- iSendFetch(ETrue),
- iCancelled(EFalse)
+ iSendFetch(ETrue)
{
}
@@ -87,7 +86,7 @@
void CImapFetchBody::Cancel()
{
__LOG_TEXT(iLogId, "CImapFetchBody::Cancel()"); // Overrides CImapCommand::Cancel()
- iCancelled = ETrue;
+
iImapMailStore.CancelRequest(*this);
CImapCommand::Cancel();
}
@@ -227,10 +226,6 @@
{
iOutStream=&aStream;
- if(iCancelled)
- {
- return;
- }
#if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT)
// check for BINARY capability
const CImapCapabilityInfo& capabilityInfo = iParent.CapabilityInfo();