зеркало из https://github.com/mozilla/gecko-dev.git
Bug #14114 --> when downloading new messages, if we can't create
a mailbox parser, don't abort the download, just don't use the parser this happens when you try to get new messages for an inbox we don't have a mail summary file for. We can still add the new messages to the berkley mail folder...
This commit is contained in:
Родитель
6a26e5fb42
Коммит
6cbe295674
|
@ -151,7 +151,14 @@ nsPop3Sink::BeginMailDelivery(PRBool* aBool)
|
|||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = m_newMailParser->Init(serverFolder, fileSpec, m_outFileStream);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
// if we failed to initialize the parser, then just don't use it!!!
|
||||
// we can still continue without one...
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
delete m_newMailParser;
|
||||
m_newMailParser = nsnull;
|
||||
rv = NS_OK;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Begin mail message delivery.\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче