add bulletproofing for bug #15093. bug still exists, but this code and assertion is needed.

This commit is contained in:
sspitzer%netscape.com 1999-11-10 00:14:29 +00:00
Родитель 6234eff725
Коммит c55085fe75
1 изменённых файлов: 6 добавлений и 4 удалений

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

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