Monotone-Parent: 31c616af5df5ea18c34f33008cee7ec5688b43ba

Monotone-Revision: 1c03128dc32222b38a2456aa650fb2b5a775c3a0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-08T20:02:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-07-08 20:02:02 +00:00
parent dae4b362fa
commit 1cf68fa730
4 changed files with 18 additions and 3 deletions

View File

@@ -80,12 +80,14 @@ static Class MAPIStoreFSMessageK;
withFID: (uint64_t) newFID
{
NSString *newKey, *urlString;
NSURL *childURL;
SOGoMAPIFSFolder *childFolder;
newKey = [NSString stringWithFormat: @"0x%.16"PRIx64, (unsigned long long) newFID];
urlString = [NSString stringWithFormat: @"%@/%@", [self url], newKey];
childFolder = [SOGoMAPIFSFolder folderWithURL: [NSURL URLWithString: urlString]
childURL = [NSURL URLWithString: [urlString stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]];
childFolder = [SOGoMAPIFSFolder folderWithURL: childURL
andTableType: MAPISTORE_MESSAGE_TABLE];
[childFolder ensureDirectory];