NECKO Only: fixes segfault with uninitialized channel A: chofmann R: valeski

This commit is contained in:
andreas.otte%primus-online.de 1999-07-10 07:58:11 +00:00
Родитель 41f0fe1a0f
Коммит 0954d17559
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -193,7 +193,7 @@ nsHTTPResponseListener::OnStartRequest(nsIChannel* channel, nsISupports* i_pCont
if (NS_SUCCEEDED(rv)) { if (NS_SUCCEEDED(rv)) {
// Pass the notification out to the consumer... // Pass the notification out to the consumer...
if (m_pConsumer) { if (m_pConsumer) {
rv = m_pConsumer->OnStartRequest(m_Channel, m_ResponseContext); rv = m_pConsumer->OnStartRequest(channel, m_ResponseContext);
} else { } else {
NS_ERROR("No Stream Listener..."); NS_ERROR("No Stream Listener...");
rv = NS_ERROR_NULL_POINTER; rv = NS_ERROR_NULL_POINTER;