mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
force creation of imap server directory when it has been deleted to avoid imap server directory.sbd creation, patch by gemal.dk, r/sr=me 210683
This commit is contained in:
parent
2e490df717
commit
57d8a01c3b
@ -138,7 +138,10 @@ nsImapURI2Path(const char* rootURI, const char* uriStr, nsFileSpec& pathResult)
|
||||
rv = localPath->GetFileSpec(&pathResult);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// nsFileSpec tempPath(pathResult.GetNativePathCString(), PR_TRUE); // This is needed so that we dont get imapservername.sbd See bug 210683
|
||||
// This forces the creation of the parent server directory
|
||||
// so that we don't get imapservername.sbd instead
|
||||
// when the host directory has been deleted. See bug 210683
|
||||
nsFileSpec tempPath(pathResult.GetNativePathCString(), PR_TRUE);
|
||||
pathResult.CreateDirectory();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user