Removing #ifdef DEBUG_bryner code which I don't care about any more and which breaks with dougt's changes. a=jag.

This commit is contained in:
bryner%uiuc.edu 2001-02-10 02:47:00 +00:00
Родитель 46ff84aa5d
Коммит 690154cadd
2 изменённых файлов: 0 добавлений и 24 удалений

Просмотреть файл

@ -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,

Просмотреть файл

@ -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,