Fix for bug 105825. Don't remove empty body part when sending message. Patch submitted by :parish@ntlworld.com. R=cavin, SR=sspitzer

git-svn-id: svn://10.0.0.236/trunk@111748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ducarroz%netscape.com
2002-01-09 23:50:21 +00:00
parent 1aa60fb4e0
commit 142736ab88

View File

@@ -488,7 +488,8 @@ nsMsgSendPart::Write()
if ( (m_parent) &&
(m_numchildren == 0) &&
( (!m_buffer) || (!*m_buffer) ) &&
(!m_filespec) )
(!m_filespec) &&
(!m_mainpart) )
return SKIP_EMPTY_PART;
if (m_mainpart && m_type && PL_strcmp(m_type, TEXT_HTML) == 0)