Monotone-Parent: 137c790e1a56597f25936f21d69eb6a067d1dc8d

Monotone-Revision: 96bc9c93be6505326ba3ccc6e53959d9f5aaefb0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-04-19T22:28:00
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-04-19 22:28:00 +00:00
parent 6e2cb1fc3f
commit 4baf85438b
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2011-04-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreTypes.m (NSObjectFromMAPISPropValue)
(NSObjectFromSPropValue): we now support PT_SVREID and handle it
exactly as PT_BINARY.
* OpenChange/MAPIStoreMessage.m (-attachmentTable): as all the
subclasses were using the same MAPIStoreAttachmentTable
implementation, this method now performs the same operation and

View File

@ -116,6 +116,7 @@ NSObjectFromMAPISPropValue (const struct mapi_SPropValue *value)
result = [NSCalendarDate dateFromFileTime: &(value->value.ft)];
break;
case PT_BINARY:
case PT_SVREID:
result = [NSData dataWithShortBinary: &value->value.bin];
break;
case PT_CLSID:
@ -175,6 +176,7 @@ NSObjectFromSPropValue (const struct SPropValue *value)
result = [NSCalendarDate dateFromFileTime: &(value->value.ft)];
break;
case PT_BINARY:
case PT_SVREID:
// lpProps->value.bin = *((const struct Binary_r *)data);
result