This commit is contained in:
ducarroz%netscape.com 2002-11-20 02:06:43 +00:00
Родитель 9cfc8750a9
Коммит e5e0557714
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -532,6 +532,7 @@ nsMsgComposeAndSend::GatherMimeAttachments()
char *hdrs = 0;
PRBool maincontainerISrelatedpart = PR_FALSE;
const char * toppart_type = nsnull;
// If we have any attachments, we generate multipart.
multipart_p = (m_attachment_count > 0);
@ -914,7 +915,7 @@ nsMsgComposeAndSend::GatherMimeAttachments()
// Is the top part a multipart container?
// can't use m_attachment_count because it's not reliable for that
// instead use type of main part. See bug #174396
const char * toppart_type = toppart->GetType(); // GetType return directly the member variable, don't free it!
toppart_type = toppart->GetType(); // GetType return directly the member variable, don't free it!
if (!m_crypto_closure && toppart_type && !PL_strncasecmp(toppart_type, "multipart/", 10))
{
status = toppart->SetBuffer(MIME_MULTIPART_BLURB);