зеркало из https://github.com/mozilla/pjs.git
fix handling of invalid pop3 Inbox.msf file on startup, sr=mscott 380620
This commit is contained in:
Родитель
9e01de91db
Коммит
7b401b4db0
|
@ -530,6 +530,7 @@ NS_IMETHODIMP nsMsgLocalMailFolder::GetDatabaseWithReparse(nsIUrlListener *aRepa
|
|||
else if (transferInfo && mDatabase)
|
||||
{
|
||||
SetDBTransferInfo(transferInfo);
|
||||
mDatabase->SetSummaryValid(PR_FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@ NS_IMETHODIMP nsPop3IncomingServer::PerformBiff(nsIMsgWindow *aMsgWindow)
|
|||
PRBool isLocked;
|
||||
inbox->GetLocked(&isLocked);
|
||||
if (!isLocked)
|
||||
rv = localInbox->ParseFolder(aMsgWindow, urlListener);
|
||||
rv = localInbox->GetDatabaseWithReparse(urlListener, aMsgWindow, getter_AddRefs(db));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = localInbox->SetCheckForNewMessagesAfterParsing(PR_TRUE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче