See ChangeLog

Monotone-Parent: d766f6e70aa4e2c12f71d547dd353e15b6f2aae4
Monotone-Revision: e41ab0579999c2bec5931b07e24575fdd3352c01

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-11-07T22:33:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-11-07 22:33:25 +00:00
parent 02cba46564
commit a6a841d85d
10 changed files with 33 additions and 42 deletions
+5 -3
View File
@@ -304,11 +304,13 @@ static NSLock *lock;
v = [NSString stringWithUTF8String: s];
d = [NSDictionary dictionaryWithJSONString: v];
//[self logWithFormat: @"read values (%@) for subtype %@ for user %@", [d description], theType, theLogin];
// Cache the value in our localCache
[localCache setObject: d forKey: k];
if (d)
[localCache setObject: d forKey: k];
else
[self errorWithFormat: @"Unable to convert (%@) to a JSON string for type: %@ and login: %@", v, theType, theLogin];
free(s);
}
}