not on main pull - pulled extraneous reference to an nsIHTTPNotify

This commit is contained in:
valeski%netscape.com 1999-06-24 21:35:21 +00:00
parent 4aabe84866
commit efa7a153ba
2 changed files with 4 additions and 22 deletions

View File

@ -480,19 +480,10 @@ nsHTTPChannel::Open(void)
if (NS_SUCCEEDED(rv)) {
// send off the notification, and block.
nsIHTTPNotify* externMod = nsnull;
rv = pNotify->QueryInterface(nsIHTTPNotify::GetIID(), (void**)&externMod);
NS_RELEASE(pNotify);
if (NS_FAILED(rv)) {
NS_ASSERTION(0, "proxy object manager found an interface we can not QI for");
NS_RELEASE(pModules);
return rv;
}
// make the nsIHTTPNotify api call
externMod->ModifyRequest(this);
NS_RELEASE(externMod);
pNotify->ModifyRequest(this);
NS_RELEASE(pNotify);
// we could do something with the return code from the external
// module, but what????
}

View File

@ -316,19 +316,10 @@ nsresult nsHTTPResponseListener::FireOnHeadersAvailable()
if (NS_SUCCEEDED(rv)) {
// send off the notification, and block.
nsIHTTPNotify* externMod = nsnull;
rv = pNotify->QueryInterface(nsIHTTPNotify::GetIID(), (void**)&externMod);
NS_RELEASE(pNotify);
if (NS_FAILED(rv)) {
NS_ASSERTION(0, "proxy object manager found an interface we can not QI for");
NS_RELEASE(pModules);
return rv;
}
// make the nsIHTTPNotify api call
externMod->AsyncExamineResponse(m_pConnection);
NS_RELEASE(externMod);
pNotify->AsyncExamineResponse(m_pConnection);
NS_RELEASE(pNotify);
// we could do something with the return code from the external
// module, but what????
}