equal
deleted
inserted
replaced
1410 iInputCache->Reset(); |
1410 iInputCache->Reset(); |
1411 dataToDeliver.Set(KNullDesC8()); // defensive: dataToDeliver might be invalid if it was pointing at the cache |
1411 dataToDeliver.Set(KNullDesC8()); // defensive: dataToDeliver might be invalid if it was pointing at the cache |
1412 |
1412 |
1413 if (err != KErrNone) |
1413 if (err != KErrNone) |
1414 { |
1414 { |
1415 if(err == KErrImapCorrupt) |
1415 // As well as completing, destroy the command to help free up resources. |
1416 { |
1416 CompleteAndDestroyCommand(err, ETrue); |
1417 continueReadingData = ETrue; |
1417 |
1418 } |
1418 // Don't allow the session to be called again. |
1419 else |
1419 SetSessionState(ESessionUnrecoverable); |
1420 { |
1420 |
1421 // As well as completing, destroy the command to help free up resources. |
1421 return; |
1422 CompleteAndDestroyCommand(err, ETrue); |
1422 } |
1423 |
|
1424 // Don't allow the session to be called again. |
|
1425 SetSessionState(ESessionUnrecoverable); |
|
1426 |
|
1427 return; |
|
1428 } |
|
1429 }// end of if (err != KErrNone) |
|
1430 |
1423 |
1431 // If a literal block is expected next, then find out how big it is expected to be. |
1424 // If a literal block is expected next, then find out how big it is expected to be. |
1432 switch (commandParseState) |
1425 switch (commandParseState) |
1433 { |
1426 { |
1434 case CImapCommand::EWaitStartResponse: |
1427 case CImapCommand::EWaitStartResponse: |