potential fix for 268245 automatic moving of junk mail to junk folder stalls, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2004-11-27 00:03:26 +00:00
parent 99af2194ae
commit eae6041c68

View File

@ -3416,7 +3416,8 @@ nsMsgLocalMailFolder::SpamFilterClassifyMessage(const char *aURI, nsIMsgWindow *
nsresult nsresult
nsMsgLocalMailFolder::SpamFilterClassifyMessages(const char **aURIArray, PRUint32 aURICount, nsIMsgWindow *aMsgWindow, nsIJunkMailPlugin *aJunkMailPlugin) nsMsgLocalMailFolder::SpamFilterClassifyMessages(const char **aURIArray, PRUint32 aURICount, nsIMsgWindow *aMsgWindow, nsIJunkMailPlugin *aJunkMailPlugin)
{ {
mNumFilterClassifyRequests += aURICount; NS_ASSERTION(!mNumFilterClassifyRequests, "shouldn't call this when already classifying messages");
mNumFilterClassifyRequests = aURICount;
return aJunkMailPlugin->ClassifyMessages(aURICount, aURIArray, aMsgWindow, this); return aJunkMailPlugin->ClassifyMessages(aURICount, aURIArray, aMsgWindow, this);
} }