for #169638. whoops, this is a long, not a bool. thanks to navin for catching my mistake. r=naving.

This commit is contained in:
sspitzer%netscape.com 2002-09-26 22:58:01 +00:00
parent 0cef078337
commit 0c4bb3bda8

View File

@ -101,14 +101,14 @@ NS_IMETHODIMP nsSpamSettings::SetActionTargetFolder(const char * aActionTargetFo
return NS_OK;
}
NS_IMETHODIMP nsSpamSettings::GetPurgeInterval(PRBool *aPurgeInterval)
NS_IMETHODIMP nsSpamSettings::GetPurgeInterval(PRInt32 *aPurgeInterval)
{
NS_ENSURE_ARG_POINTER(aPurgeInterval);
*aPurgeInterval = mPurgeInterval;
return NS_OK;
}
NS_IMETHODIMP nsSpamSettings::SetPurgeInterval(PRBool aPurgeInterval)
NS_IMETHODIMP nsSpamSettings::SetPurgeInterval(PRInt32 aPurgeInterval)
{
NS_ASSERTION(aPurgeInterval >= 0, "bad purge interval");
mPurgeInterval = aPurgeInterval;