Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.

This commit is contained in:
warren@netscape.com
2000-10-28 22:17:53 +00:00
parent db63f8d3ec
commit 0462ea4ce8
675 changed files with 7622 additions and 9767 deletions

View File

@@ -45,11 +45,6 @@
#include "nsExpatTokenizer.h"
#include "nsIParserService.h"
#include "nsElementTable.h"
#include "nslog.h"
NS_IMPL_LOG(nsParserModuleLog)
#define PRINTF NS_LOG_PRINTF(nsParserModuleLog)
#define FLUSH NS_LOG_FLUSH(nsParserModuleLog)
static NS_DEFINE_IID(kIParserServiceIID, NS_IPARSERSERVICE_IID);
@@ -398,8 +393,10 @@ nsParserModule::RegisterSelf(nsIComponentManager *aCompMgr,
rv = aCompMgr->RegisterComponentSpec(*cp->mCID, cp->mDescription,
nsnull, aPath, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) {
PRINTF("nsParserModule: unable to register %s component => %x\n",
#ifdef DEBUG
printf("nsParserModule: unable to register %s component => %x\n",
cp->mDescription, rv);
#endif
break;
}
cp++;
@@ -417,8 +414,10 @@ nsParserModule::UnregisterSelf(nsIComponentManager *aCompMgr,
while (cp < end) {
nsresult rv = aCompMgr->UnregisterComponentSpec(*cp->mCID, aPath);
if (NS_FAILED(rv)) {
PRINTF("nsParserModule: unable to unregister %s component => %x\n",
#ifdef DEBUG
printf("nsParserModule: unable to unregister %s component => %x\n",
cp->mDescription, rv);
#endif
}
cp++;
}