From 23025c4b77321f261d0ce79edca596b60d62ad4d Mon Sep 17 00:00:00 2001 From: "hangas%netscape.com" Date: Tue, 15 Jun 1999 23:33:29 +0000 Subject: [PATCH] Changed nsMailboxGetURI to use nsFileSpec. Fixes Mac. git-svn-id: svn://10.0.0.236/trunk@35531 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/src/nsMailboxUrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/mailnews/local/src/nsMailboxUrl.cpp b/mozilla/mailnews/local/src/nsMailboxUrl.cpp index d6a753b5072..5217010579a 100644 --- a/mozilla/mailnews/local/src/nsMailboxUrl.cpp +++ b/mozilla/mailnews/local/src/nsMailboxUrl.cpp @@ -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