Monotone-Parent: 23b277d875e5d3edbaacfcbca90a9b0bd961925e
Monotone-Revision: 13c5aa721d9d4217c5d7294d7498865eadb1f488 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-08-11T16:36:30 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
4844179663
commit
83374dbee2
|
@ -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>
|
2011-08-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* OpenChange/MAPIStoreMapping.m
|
* OpenChange/MAPIStoreMapping.m
|
||||||
|
|
|
@ -347,16 +347,9 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
||||||
|
|
||||||
- (uint64_t) objectVersion
|
- (uint64_t) objectVersion
|
||||||
{
|
{
|
||||||
uint32_t lmTime;
|
[self subclassResponsibility: _cmd];
|
||||||
|
|
||||||
[self logWithFormat: @"[" __location__ "] objectVersion computed from timestamp"];
|
return 0xffffffffffffffffLL;
|
||||||
|
|
||||||
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));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (int) getPrChangeKey: (void **) data
|
- (int) getPrChangeKey: (void **) data
|
||||||
|
|
Loading…
Reference in a new issue