Monotone-Parent: 367e72af9d08f48f2e598a1e344c784b6bc4ffac

Monotone-Revision: f617866a91a29b390f0a2207ceb975bf2b2eeaa3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-11-26T19:32:24
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-11-26 19:32:24 +00:00
parent 09e4c3f2a9
commit 5a31a100c6
2 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2009-11-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoCache.m (_cacheValues:ofType:forLogin:): we
also fill the local cache with the new value to avoid ignoring it
next time the cache is invoked.
* SoObjects/SOGo/NSDictionary+BSJSONAdditions.m
(+dictionaryWithJSONString:): method moved from NSDictionary into
NSMutableDictionary for consistency.

View File

@@ -270,6 +270,7 @@ static NSLock *lock;
[key bytes], [key length],
[value bytes], [value length],
cleanupInterval, 0);
[localCache setObject: theAttributes forKey: keyName];
if (error != MEMCACHED_SUCCESS)
[self logWithFormat: @"memcached error: unable to cache values with subtype '%@' for user '%@'", theType, theLogin];