Add ability to change the url being used for a connection. This allows us to run multiple urls on a connection which we need for many of the mail protocols.
git-svn-id: svn://10.0.0.236/trunk@31488 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -90,6 +90,17 @@ nsConnectionInfo::GetURL(nsIURL **aURL)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsConnectionInfo::SetURL(nsIURL *aURL)
|
||||
{
|
||||
NS_IF_RELEASE(pURL); // release old one
|
||||
pURL = aURL;
|
||||
NS_IF_ADDREF(pURL); // now addref new one
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsConnectionInfo::GetInputStream(nsIInputStream **aStream)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user