fix mac build bustage. sorry.

git-svn-id: svn://10.0.0.236/trunk@84646 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2001-01-09 05:56:18 +00:00
parent 9145344cfc
commit a969cecfb1

View File

@@ -324,7 +324,7 @@ NS_IMETHODIMP nsNntpUrl::GetMessageHeader(nsIMsgDBHdr ** aMsgHdr)
if (!aMsgHdr) return NS_ERROR_NULL_POINTER;
if (!m_newsgroupName) return NS_ERROR_FAILURE;
if (!((const char *)m_newsgroupName)) return NS_ERROR_FAILURE;
nsXPIDLCString hostName;
rv = GetHost(getter_Copies(hostName));
@@ -342,7 +342,7 @@ NS_IMETHODIMP nsNntpUrl::GetMessageHeader(nsIMsgDBHdr ** aMsgHdr)
}
newsgroupURI.Append(hostName);
newsgroupURI.Append("/");
newsgroupURI.Append(m_newsgroupName);
newsgroupURI.Append((const char *)m_newsgroupName);
rv = nsNewsURI2Path(kNewsMessageRootURI, newsgroupURI.GetBuffer(), pathResult);
if (NS_FAILED(rv)) {