Fix for crash when forwarding NTTP message - Bug #: 38223 - r: ducarroz

This commit is contained in:
rhp%netscape.com 2000-05-18 01:37:24 +00:00
parent db1c7e8b35
commit 579573d16e

View File

@ -251,7 +251,10 @@ nsURLFetcher::OnStopRequest(nsIChannel *aChannel, nsISupports * /* ctxt */, nsre
// First close the output stream...
if (mOutStream)
{
mOutStream->close();
mOutStream = nsnull;
}
// Check the content type!
if (aChannel)