From 308f69b004efdeb7d7409a996b059f87a97247e4 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Fri, 10 Sep 1999 05:38:18 +0000 Subject: [PATCH] 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 --- mozilla/profile/src/nsProfile.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mozilla/profile/src/nsProfile.cpp b/mozilla/profile/src/nsProfile.cpp index fa089f81ad5..5e29c7557ae 100644 --- a/mozilla/profile/src/nsProfile.cpp +++ b/mozilla/profile/src/nsProfile.cpp @@ -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;