fix unix build bustage

git-svn-id: svn://10.0.0.236/trunk@25424 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%netscape.com
1999-03-28 23:09:16 +00:00
parent add14cbd9d
commit 4b835cdca3

View File

@@ -1896,7 +1896,7 @@ PRBool nsMsgDatabase::ThreadBySubjectWithoutRe()
nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
{
PRBool prefValue = PR_FALSE;
XP_Bool prefValue = PR_FALSE;
nsIPref* prefs = nsnull;
nsresult rv;
rv = nsServiceManager::GetService(kPrefCID, kIPrefIID, (nsISupports**)&prefs);
@@ -1904,7 +1904,8 @@ nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
{
// prefs->Startup("prefs.js");
rv = prefs->GetBoolPref(prefName, result);
rv = prefs->GetBoolPref(prefName, &prefValue);
*result = (PRBool) prefValue;
nsServiceManager::ReleaseService(kPrefCID, prefs);
}
return rv;