From ff327d82b9ab1f9906d6bb6d3cecdacd0aa8d1b2 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 27 May 1999 01:07:24 +0000 Subject: [PATCH] Some code wasn't ifdef'd for DOING_FILTERS properly. a=bienvenu git-svn-id: svn://10.0.0.236/trunk@32832 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/src/nsParseMailbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/mailnews/local/src/nsParseMailbox.cpp b/mozilla/mailnews/local/src/nsParseMailbox.cpp index 9b6675088e5..7b8db0f4dd6 100644 --- a/mozilla/mailnews/local/src/nsParseMailbox.cpp +++ b/mozilla/mailnews/local/src/nsParseMailbox.cpp @@ -1286,7 +1286,9 @@ nsParseNewMailState::nsParseNewMailState() , m_logFile(nsnull) #endif { +#ifdef DOING_FILTERS m_inboxFileStream = nsnull; +#endif } nsresult @@ -1296,8 +1298,10 @@ nsParseNewMailState::Init(nsIFolder *rootFolder, nsFileSpec &folder, nsIOFileStr m_mailboxName = nsCRT::strdup(folder); m_position = folder.GetFileSize(); +#ifdef DOING_FILTERS m_rootFolder = rootFolder; m_inboxFileStream = inboxFileStream; +#endif // the new mail parser isn't going to get the stream input, it seems, so we can't use // the OnStartBinding mechanism the mailbox parser uses. So, let's open the db right now. nsCOMPtr mailDB;