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 // As well as completing, destroy the command to help free up resources. |
1415 if(err == KErrImapCorrupt) |
1416 CompleteAndDestroyCommand(err, ETrue); |
1416 { |
1417 |
1417 continueReadingData = ETrue; |
1418 // Don't allow the session to be called again. |
1418 } |
1419 SetSessionState(ESessionUnrecoverable); |
1419 else |
1420 |
1420 { |
1421 return; |
1421 // As well as completing, destroy the command to help free up resources. |
1422 } |
1422 CompleteAndDestroyCommand(err, ETrue); |
|
1423 |
|
1424 // Don't allow the session to be called again. |
|
1425 SetSessionState(ESessionUnrecoverable); |
|
1426 |
|
1427 return; |
|
1428 } |
|
1429 }// end of if (err != KErrNone) |
1423 |
1430 |
1424 // If a literal block is expected next, then find out how big it is expected to be. |
1431 // If a literal block is expected next, then find out how big it is expected to be. |
1425 switch (commandParseState) |
1432 switch (commandParseState) |
1426 { |
1433 { |
1427 case CImapCommand::EWaitStartResponse: |
1434 case CImapCommand::EWaitStartResponse: |