fix to build with new AsyncRead interface from nsIChannel

This commit is contained in:
andreas.otte%primus-online.de 1999-06-08 10:09:00 +00:00
Родитель f9e00b49a3
Коммит 4b6841d203
1 изменённых файлов: 1 добавлений и 1 удалений

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

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