Monotone-Parent: 1c59437a5e028bce2f9751493f0e07ce162fb322

Monotone-Revision: 3bc6a3f032908c2a45f63b61002786602c6e678e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-24T19:56:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-04-24 19:56:55 +00:00
parent b2c349155b
commit 9b0d1d604a

View File

@@ -418,20 +418,20 @@ static int sizeLimit;
intoContactEntry: (NSMutableDictionary *) contactEntry
{
NSEnumerator *emailFields;
NSString *currentFieldName, *value;
NSString *currentFieldName;
NSMutableArray *emails;
NSArray *allValues;
emails = [NSMutableArray new];
emailFields = [mailFields objectEnumerator];
while ((currentFieldName = [emailFields nextObject]))
{
value = [[ldapEntry attributeWithName: currentFieldName]
stringValueAtIndex: 0];
if (value)
[emails addObject: value];
allValues = [[ldapEntry attributeWithName: currentFieldName]
allValues];
[emails addObjectsFromArray: allValues];
}
[emails autorelease];
[contactEntry setObject: emails forKey: @"c_emails"];
[emails release];
}
- (void) _fillConstraints: (NGLdapEntry *) ldapEntry