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:
bienvenu%nventure.com 2006-06-02 23:35:48 +00:00
Родитель ca5ca8b3f5
Коммит 0cd27bba7a
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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.