mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
fix 336710, crash downloading new pop3 mail when message quarantining is turned on and filter log turned off, sr=sspitzer
This commit is contained in:
parent
ca5ca8b3f5
commit
0cd27bba7a
@ -869,8 +869,8 @@ nsPop3Sink::IncorporateComplete(nsIMsgWindow *aMsgWindow, PRInt32 aSize)
|
||||
{
|
||||
nsFileSpec destFolderSpec;
|
||||
nsCOMPtr<nsIFileSpec> path;
|
||||
// cleanup after mailHdr in source DB because we moved the message.
|
||||
m_newMailParser->m_mailDB->RemoveHeaderMdbRow(hdr);
|
||||
// nsParseNewMailState::ApplyFilterHit already removed the hdr from the db
|
||||
// so we don't have to.
|
||||
|
||||
// if the filter moved the message, it called nsParseMailMessageState::Init
|
||||
// to truncate the source folder, which resets m_envelopePos and m_position.
|
||||
|
Loading…
Reference in New Issue
Block a user