From 690154caddb9afa809ce94975911cf11c816617a Mon Sep 17 00:00:00 2001 From: "bryner%uiuc.edu" Date: Sat, 10 Feb 2001 02:47:00 +0000 Subject: [PATCH] Removing #ifdef DEBUG_bryner code which I don't care about any more and which breaks with dougt's changes. a=jag. --- extensions/finger/nsFingerChannel.cpp | 12 ------------ netwerk/protocol/finger/src/nsFingerChannel.cpp | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/extensions/finger/nsFingerChannel.cpp b/extensions/finger/nsFingerChannel.cpp index 6996fa8874a..c43dadd3a62 100644 --- a/extensions/finger/nsFingerChannel.cpp +++ b/extensions/finger/nsFingerChannel.cpp @@ -100,10 +100,6 @@ nsFingerChannel::Init(nsIURI* uri) mHost = cString; } -#ifdef DEBUG_bryner - printf("Status:mUser = %s, mHost = %s\n", (const char*)mUser, - (const char*)mHost); -#endif if (!*(const char *)mHost) return NS_ERROR_NOT_INITIALIZED; return NS_OK; @@ -367,11 +363,6 @@ NS_IMETHODIMP nsFingerChannel::OnStopRequest(nsIRequest *aRequest, nsISupports* aContext, nsresult aStatus, const PRUnichar* aStatusArg) { -#ifdef DEBUG_bryner - printf("nsFingerChannel::OnStopRequest, mActAsObserver=%d\n", - mActAsObserver); - printf(" aChannel = %p\n", aChannel); -#endif nsresult rv = NS_OK; if (NS_FAILED(aStatus) || !mActAsObserver) { @@ -450,9 +441,6 @@ nsFingerChannel::SendRequest(nsITransport* aTransport) { charstream = do_QueryInterface(result, &rv); if (NS_FAILED(rv)) return rv; -#ifdef DEBUG_bryner - printf("Sending: %s\n", requestBuffer.GetBuffer()); -#endif rv = NS_AsyncWriteFromStream(getter_AddRefs(mTransportRequest), aTransport, charstream, 0, requestBuffer.Length(), 0, diff --git a/netwerk/protocol/finger/src/nsFingerChannel.cpp b/netwerk/protocol/finger/src/nsFingerChannel.cpp index 6996fa8874a..c43dadd3a62 100644 --- a/netwerk/protocol/finger/src/nsFingerChannel.cpp +++ b/netwerk/protocol/finger/src/nsFingerChannel.cpp @@ -100,10 +100,6 @@ nsFingerChannel::Init(nsIURI* uri) mHost = cString; } -#ifdef DEBUG_bryner - printf("Status:mUser = %s, mHost = %s\n", (const char*)mUser, - (const char*)mHost); -#endif if (!*(const char *)mHost) return NS_ERROR_NOT_INITIALIZED; return NS_OK; @@ -367,11 +363,6 @@ NS_IMETHODIMP nsFingerChannel::OnStopRequest(nsIRequest *aRequest, nsISupports* aContext, nsresult aStatus, const PRUnichar* aStatusArg) { -#ifdef DEBUG_bryner - printf("nsFingerChannel::OnStopRequest, mActAsObserver=%d\n", - mActAsObserver); - printf(" aChannel = %p\n", aChannel); -#endif nsresult rv = NS_OK; if (NS_FAILED(aStatus) || !mActAsObserver) { @@ -450,9 +441,6 @@ nsFingerChannel::SendRequest(nsITransport* aTransport) { charstream = do_QueryInterface(result, &rv); if (NS_FAILED(rv)) return rv; -#ifdef DEBUG_bryner - printf("Sending: %s\n", requestBuffer.GetBuffer()); -#endif rv = NS_AsyncWriteFromStream(getter_AddRefs(mTransportRequest), aTransport, charstream, 0, requestBuffer.Length(), 0,