mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
for #169638. whoops, this is a long, not a bool. thanks to navin for catching my mistake. r=naving.
This commit is contained in:
parent
0cef078337
commit
0c4bb3bda8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user