From e5e0557714bc26ec62e9a61b54ed6ddea630e48b Mon Sep 17 00:00:00 2001 From: "ducarroz%netscape.com" Date: Wed, 20 Nov 2002 02:06:43 +0000 Subject: [PATCH] Fix build bustage --- mailnews/compose/src/nsMsgSend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailnews/compose/src/nsMsgSend.cpp b/mailnews/compose/src/nsMsgSend.cpp index 1c72f56d80d..9c10222d6a4 100644 --- a/mailnews/compose/src/nsMsgSend.cpp +++ b/mailnews/compose/src/nsMsgSend.cpp @@ -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);