Monotone-Parent: 78e8177b7871651ba9b05f971e1b40376fb5e49d

Monotone-Revision: 8e4f10d6d171bd7c241c05d63d20efa7f2a66de4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-11T14:38:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-09-11 14:38:43 +00:00
1 parent b5dfe674de
commit 7bb57b4692
15 files changed
+367 -42

No files matched your search

+4 -3
View File
@@ -216,11 +216,12 @@ static NSLock *lock;
}
- (void) registerUser: (SOGoUser *) user
withName: (NSString *) userName
{
#if defined(THREADSAFE)
[lock lock];
#endif
[users setObject: user forKey: [user login]];
[users setObject: user forKey: userName];
#if defined(THREADSAFE)
[lock unlock];
#endif
@@ -264,11 +265,11 @@ static NSLock *lock;
forLogin: (NSString *) theLogin
{
NSDictionary *d;
memcached_return rc;
const char *key;
char *s;
unsigned int len, vlen, flags;
unsigned int len, flags;
size_t vlen;
if (!handle)
return nil;