email/imap4mtm/imapsession/src/cimapsession.cpp
branchRCL_3
changeset 33 94cccd85bd25
parent 29 7e4e4bcc75b6
child 42 1367103c24e2
--- 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)