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

@@ -37,11 +37,6 @@
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
#include "nsIComponentManager.h"
#include "nsParserCIID.h"
#include "nslog.h"
NS_IMPL_LOG(nsDebugRobotLog)
#define PRINTF NS_LOG_PRINTF(nsDebugRobotLog)
#define FLUSH NS_LOG_FLUSH(nsDebugRobotLog)
static NS_DEFINE_IID(kIRobotSinkObserverIID, NS_IROBOTSINKOBSERVER_IID);
@@ -265,9 +260,9 @@ extern "C" NS_EXPORT int DebugRobot(
rv = uri->QueryInterface(NS_GET_IID(nsIURI), (void**)&url);
NS_RELEASE(uri);
if (NS_OK != rv) {
PRINTF("invalid URL: '");
printf("invalid URL: '");
fputs(*urlName, stdout);
PRINTF("'\n");
printf("'\n");
NS_RELEASE(myObserver);
return -1;
}
@@ -293,7 +288,7 @@ extern "C" NS_EXPORT int DebugRobot(
(void **)&parser);
if (NS_OK != rv) {
PRINTF("can't make parser\n");
printf("can't make parser\n");
NS_RELEASE(myObserver);
return -1;
}
@@ -301,7 +296,7 @@ extern "C" NS_EXPORT int DebugRobot(
nsIRobotSink* sink;
rv = NS_NewRobotSink(&sink);
if (NS_OK != rv) {
PRINTF("can't make parser\n");
printf("can't make parser\n");
NS_RELEASE(myObserver);
return -1;
}