another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi

git-svn-id: svn://10.0.0.236/trunk@233525 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcamp%mozilla.com
2007-08-31 23:48:39 +00:00
parent 2e26d97414
commit c33eb833cd
2 changed files with 6 additions and 6 deletions

View File

@@ -9136,7 +9136,7 @@ nsClassifierCallback::Run()
rv = channel->Suspend();
NS_ENSURE_SUCCESS(rv, rv);
mSuspendedChannel = channel;
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: suspended channel %p",
this, mSuspendedChannel.get()));
@@ -9151,14 +9151,14 @@ nsClassifierCallback::OnClassifyComplete(nsresult aErrorCode)
{
if (mSuspendedChannel) {
if (NS_FAILED(aErrorCode)) {
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: cancelling channel %p with error code: %d",
this, mSuspendedChannel.get(), aErrorCode));
mSuspendedChannel->Cancel(aErrorCode);
#endif
mSuspendedChannel->Cancel(aErrorCode);
}
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: resuming channel %p from OnClassifyComplete",
this, mSuspendedChannel.get()));
@@ -9174,7 +9174,7 @@ void
nsClassifierCallback::Cancel()
{
if (mSuspendedChannel) {
#if defined(PR_LOGGING) && defined(DEBUG)
#ifdef DEBUG
PR_LOG(gDocShellLog, PR_LOG_DEBUG,
("nsClassifierCallback[%p]: resuming channel %p from Cancel()",
this, mSuspendedChannel.get()));