--- a/email/imap4mtm/imapsession/src/cimapsession.cpp Tue May 25 12:38:02 2010 +0300
+++ b/email/imap4mtm/imapsession/src/cimapsession.cpp Wed Jun 09 09:37:26 2010 +0300
@@ -1412,21 +1412,14 @@
if (err != KErrNone)
{
- if(err == KErrImapCorrupt)
- {
- continueReadingData = ETrue;
- }
- else
- {
- // As well as completing, destroy the command to help free up resources.
- CompleteAndDestroyCommand(err, ETrue);
+ // As well as completing, destroy the command to help free up resources.
+ CompleteAndDestroyCommand(err, ETrue);
- // Don't allow the session to be called again.
- SetSessionState(ESessionUnrecoverable);
-
- return;
- }
- }// end of if (err != KErrNone)
+ // Don't allow the session to be called again.
+ SetSessionState(ESessionUnrecoverable);
+
+ return;
+ }
// If a literal block is expected next, then find out how big it is expected to be.
switch (commandParseState)