зеркало из https://github.com/mozilla/gecko-dev.git
fix 8619 malformed message problem
This commit is contained in:
Родитель
099d441d93
Коммит
d4abc5ead5
|
@ -1114,6 +1114,7 @@ int nsParseMailMessageState::FinalizeHeaders()
|
|||
NS_ASSERTION(offset < 10000, "invalid status offset"); /* ### Debugging hack */
|
||||
}
|
||||
}
|
||||
if (sender)
|
||||
m_newMsgHdr->SetAuthor(sender->value);
|
||||
if (recipient == &m_newsgroups)
|
||||
{
|
||||
|
@ -1134,7 +1135,7 @@ int nsParseMailMessageState::FinalizeHeaders()
|
|||
}
|
||||
m_newMsgHdr->SetRecipients(recipient->value, FALSE);
|
||||
}
|
||||
else
|
||||
else if (recipient)
|
||||
{
|
||||
// note that we're now setting the whole recipient list,
|
||||
// not just the pretty name of the first recipient.
|
||||
|
|
Загрузка…
Ссылка в новой задаче