зеркало из https://github.com/mozilla/gecko-dev.git
add bulletproofing for bug #15093. bug still exists, but this code and assertion is needed.
This commit is contained in:
Родитель
6234eff725
Коммит
c55085fe75
|
@ -2024,10 +2024,12 @@ void nsImapProtocol::BeginMessageDownLoad(
|
|||
|
||||
// m_imapMessageSink->SetupMsgWriteStream(fileSpec, addDummyEnvelope);
|
||||
nsXPIDLCString nativePath;
|
||||
fileSpec->GetNativePath(getter_Copies(nativePath));
|
||||
m_imapMessageSink->SetupMsgWriteStream(nativePath, addDummyEnvelope);
|
||||
|
||||
}
|
||||
NS_ASSERTION(fileSpec, "no fileSpec!");
|
||||
if (fileSpec) {
|
||||
fileSpec->GetNativePath(getter_Copies(nativePath));
|
||||
m_imapMessageSink->SetupMsgWriteStream(nativePath, addDummyEnvelope);
|
||||
}
|
||||
}
|
||||
PL_strfree(si->content_type);
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче