back out my changes

This commit is contained in:
alecf%netscape.com 2000-01-14 22:51:53 +00:00
parent f5e622daa8
commit 71c80cb680
3 changed files with 7 additions and 7 deletions

View File

@ -1740,7 +1740,7 @@ nsMsgAccountManager::Convert4XUri(const char *old_uri, PRBool for_news, const ch
rv = url->GetHost(getter_Copies(hostname));
if (NS_FAILED(rv)) return rv;
rv = url->GetUsername(getter_Copies(username));
rv = url->GetPreHost(getter_Copies(username));
if (NS_FAILED(rv)) return rv;
// in 4.x, mac and windows stored the URI as IMAP://<hostname>

View File

@ -500,7 +500,7 @@ nsMsgFolder::parseURI(PRBool needServer)
if (!server && needServer) {
// Get username and hostname so we can get the server
nsXPIDLCString userName;
rv = url->GetUsername(getter_Copies(userName));
rv = url->GetPreHost(getter_Copies(userName));
if (NS_SUCCEEDED(rv) && (const char*)userName)
nsUnescape(NS_CONST_CAST(char*,(const char*)userName));

View File

@ -1818,7 +1818,7 @@ nsMsgLocalMailFolder::GetIncomingServerType()
if (NS_FAILED(rv)) return "";
nsXPIDLCString userName;
rv = url->GetUsername(getter_Copies(userName));
rv = url->GetPreHost(getter_Copies(userName));
if (NS_FAILED(rv)) return "";
if ((const char *) userName)
nsUnescape(NS_CONST_CAST(char*,(const char*)userName));