From e9c382512e78dcd6318def8c56b040409afb05ef Mon Sep 17 00:00:00 2001 From: "andreas.otte%primus-online.de" Date: Tue, 8 Jun 1999 10:09:00 +0000 Subject: [PATCH] fix to build with new AsyncRead interface from nsIChannel git-svn-id: svn://10.0.0.236/trunk@34195 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHTTPRequestObserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHTTPRequestObserver.cpp b/mozilla/netwerk/protocol/http/src/nsHTTPRequestObserver.cpp index 7b12c26d190..5448f04cee2 100644 --- a/mozilla/netwerk/protocol/http/src/nsHTTPRequestObserver.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHTTPRequestObserver.cpp @@ -55,7 +55,7 @@ nsHTTPRequestObserver::OnStopBinding(nsISupports* i_pContext, { //Prepare to receive the response! nsHTTPResponseListener* pListener = new nsHTTPResponseListener(); - m_pTransport->AsyncRead(nsnull, nsnull /*gEventQ */, pListener); + m_pTransport->AsyncRead(0, -1, nsnull, nsnull /*gEventQ */, pListener); //TODO check this portion here... return pListener ? NS_OK : NS_ERROR_OUT_OF_MEMORY; }