force creation of imap directories
git-svn-id: svn://10.0.0.236/trunk@45616 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -127,6 +127,7 @@ nsImapURI2Path(const char* rootURI, const char* uriStr, nsFileSpec& pathResult)
|
||||
rv = server->GetLocalPath(&localPath);
|
||||
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
nsFileSpec dirCreator(localPath, PR_TRUE); // force parent directories to be created
|
||||
pathResult = localPath;
|
||||
pathResult.CreateDirectory();
|
||||
PL_strfree(localPath);
|
||||
|
||||
Reference in New Issue
Block a user