Monotone-Parent: cf82a6c633ed0ff127f0f681583035b3bcc35b77

Monotone-Revision: 72b9bd995f18feb4cb9796148626b91ffeacd955

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-02-04T03:42:28
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-02-04 03:42:28 +00:00
parent a5b387cfeb
commit cda37360b8
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2011-02-03 Ludovic Marcotte <lmarcotte@inverse.ca>
* OpenChange/MAPIStoreTable.m (-setRestrictions:): log the old
restriction when unset.
* OpenChange/MAPIStoreMapping.m (-unregisterURLWithID:): new
method for removing entries from the mapping dictionaries.

View File

@ -372,7 +372,7 @@ static Class NSDataK, NSStringK;
// type, MAPIStringForRestriction (res)];
oldRestriction = restriction;
[restriction release];
[restriction autorelease];
if (res)
restrictionState = [self evaluateRestriction: res
intoQualifier: &restriction];
@ -384,6 +384,7 @@ static Class NSDataK, NSStringK;
else
restriction = nil;
// FIXME: we should not flush the caches if the restrictions matches
[cachedRestrictedKeys release];
cachedRestrictedKeys = nil;
@ -391,7 +392,7 @@ static Class NSDataK, NSStringK;
[self logWithFormat: @"restriction set to EOQualifier: %@",
restriction];
else if (oldRestriction)
[self logWithFormat: @"restriction unset"];
[self logWithFormat: @"restriction unset (was %@)", oldRestriction];
}
- (enum MAPISTATUS) getChildProperty: (void **) data