mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 14:05:26 +00:00
Monotone-Parent: 1126d6ad15404744e779f38d1c079d25ecf95422
Monotone-Revision: 38a3270c68b7a55a50c94569d54d172e37841eba Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-06T16:43:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2011-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/SOGoMAPIFSMessage.m (-MAPISave): restored old way of
|
||||
decoding the property dictionary from the property list as the
|
||||
"new method" was working around that was solved elsewhere and was
|
||||
causing trouble with value typing.
|
||||
|
||||
2011-02-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/SOGoMAPIFSMessage.m (-properties): initialize
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSFileManager.h>
|
||||
#import <Foundation/NSException.h>
|
||||
#import <Foundation/NSPropertyList.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
@@ -92,7 +91,6 @@
|
||||
{
|
||||
NSArray *pathComponents;
|
||||
NSString *filePath;
|
||||
NSData *content;
|
||||
|
||||
[self logWithFormat: @"-MAPISave"];
|
||||
|
||||
@@ -112,11 +110,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
content = [NSPropertyListSerialization
|
||||
dataFromPropertyList: properties
|
||||
format: NSPropertyListOpenStepFormat
|
||||
errorDescription: NULL];
|
||||
if (![content writeToFile: filePath atomically: NO])
|
||||
if (![properties writeToFile: filePath atomically: YES])
|
||||
[NSException raise: @"MAPIStoreIOException"
|
||||
format: @"could not save message"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user