fix to build with new AsyncRead interface from nsIChannel

git-svn-id: svn://10.0.0.236/trunk@34195 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
andreas.otte%primus-online.de
1999-06-08 10:09:00 +00:00
parent c4bfc904c9
commit e9c382512e

View File

@@ -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;
}