fix printf and don't release the service we're given

git-svn-id: svn://10.0.0.236/trunk@46713 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
1999-09-10 05:38:18 +00:00
parent fd3ce09eed
commit 308f69b004

View File

@@ -295,9 +295,11 @@ nsProfile::StartupWithArgs(nsICmdLineService *cmdLineArgs)
PRBool profileDirSet = PR_FALSE;
char *profstr=nsnull;
printf("Profile Manager : Profile Wizard and Manager activites : Begin\n");
Startup(nsnull);
if (cmdLineArgs)
rv = ProcessArgs(cmdLineArgs, &profileDirSet, &profstr);
@@ -534,9 +536,6 @@ nsProfile::ProcessArgs(nsICmdLineService *cmdLineArgs,
if (NS_FAILED(rv))
return rv;
#if defined (NS_USING_PROFILES)
printf("Profile Manager : Profile Wizard and Manager activites : Begin\n");
#endif
return NS_OK;
}
@@ -2802,7 +2801,7 @@ nsProfile::OnShutdown(const nsCID& serviceCID, nsISupports* service) {
if (serviceCID.Equals(kPrefCID)) {
unloadPrefs();
// are we supposed to do this?
nsServiceManager::ReleaseService(serviceCID, service);
//nsServiceManager::ReleaseService(serviceCID, service);
}
return NS_OK;