fix to prevent a crash when displaying IMap messages... nsXULDocument::StartDocumentLoad(...) calls GetOriginalURI(...) which returned null - this was bad.

git-svn-id: svn://10.0.0.236/trunk@56595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
1999-12-29 04:58:46 +00:00
parent f9f4db3af2
commit 8d06f36fe3

View File

@@ -6299,7 +6299,9 @@ NS_IMETHODIMP nsImapMockChannel::GetLoadGroup(nsILoadGroup * *aLoadGroup)
NS_IMETHODIMP nsImapMockChannel::GetOriginalURI(nsIURI * *aURI)
{
*aURI = m_originalUrl;
// IMap does not seem to have the notion of an original URI :-(
// *aURI = m_originalUrl;
*aURI = m_url;
NS_IF_ADDREF(*aURI);
return NS_OK;
}