diff --git a/OpenChange/MAPIStoreObject.m b/OpenChange/MAPIStoreObject.m index 4c33db6d2..cc7c636d0 100644 --- a/OpenChange/MAPIStoreObject.m +++ b/OpenChange/MAPIStoreObject.m @@ -366,7 +366,7 @@ static Class NSExceptionK, MAPIStoreFolderK; uint64_t obVersion; obVersion = [self objectVersion]; - if (obVersion = 0xffffffffffffffffLL) + if (obVersion == 0xffffffffffffffffLL) rc = MAPISTORE_ERR_NOT_FOUND; else rc = [self getReplicaKey: data fromGlobCnt: obVersion @@ -382,7 +382,7 @@ static Class NSExceptionK, MAPIStoreFolderK; uint64_t obVersion; obVersion = [self objectVersion]; - if (obVersion = 0xffffffffffffffffLL) + if (obVersion == 0xffffffffffffffffLL) rc = MAPISTORE_ERR_NOT_FOUND; else {