Monotone-Parent: 23b277d875e5d3edbaacfcbca90a9b0bd961925e

Monotone-Revision: 13c5aa721d9d4217c5d7294d7498865eadb1f488

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-08-11T16:36:30
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-08-11 16:36:30 +00:00
parent 4844179663
commit 83374dbee2
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2011-08-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreObject.m (-objectVersion): now a mandatory
method for subclasses.
2011-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreMapping.m

View File

@ -347,16 +347,9 @@ static Class NSExceptionK, MAPIStoreFolderK;
- (uint64_t) objectVersion
{
uint32_t lmTime;
[self subclassResponsibility: _cmd];
[self logWithFormat: @"[" __location__ "] objectVersion computed from timestamp"];
lmTime = (uint32_t) [[self lastModificationTime] timeIntervalSince1970];
if (lmTime < 0x4dbb2dbe) /* oc_version_time */
lmTime = 0x4dbb2dbe;
return ((([self objectId] & 0xffff000000000000LL) >> 16)
| (exchange_globcnt((uint64_t) lmTime - 0x4dbb2dbe) >> 16));
return 0xffffffffffffffffLL;
}
- (int) getPrChangeKey: (void **) data