Changed nsMailboxGetURI to use nsFileSpec. Fixes Mac.

git-svn-id: svn://10.0.0.236/trunk@35531 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hangas%netscape.com 1999-06-15 23:33:29 +00:00
parent 494308738b
commit 23025c4b77

View File

@ -90,7 +90,8 @@ static char *nsMailboxGetURI(char *nativepath)
rv = server->GetLocalPath(&nativeServerPath);
if (NS_FAILED(rv)) continue;
nsFilePath serverPath(nativeServerPath);
nsFileSpec spec(nativeServerPath);
nsFilePath serverPath(spec);
PL_strfree(nativeServerPath);
// check if filepath begins with serverPath