Bug 266905 Mozilla crash or hang on POP3 mail download, if "Run Filter on Folder" is executed [@ nsMsgFilter::LogRuleHit]

look before leaping but don't complain
r=bienvenu sr=bienvenu
This commit is contained in:
timeless%mozdev.org 2005-06-10 22:15:30 +00:00
parent 1699835d97
commit 428fd521f5

View File

@ -415,6 +415,7 @@ NS_IMETHODIMP nsMsgFilter::GetScope(nsIMsgSearchScopeTerm **aResult)
NS_IMETHODIMP nsMsgFilter::LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aMsgHdr)
{
NS_ENSURE_TRUE(m_filterList, NS_OK);
nsCOMPtr <nsIOutputStream> logStream;
nsresult rv = m_filterList->GetLogStream(getter_AddRefs(logStream));
NS_ENSURE_SUCCESS(rv,rv);