Monotone-Parent: a311d7d0d46a40428355d5d16855425659aafddf

Monotone-Revision: 177ce0927201d7757ef2447dd1dbd4dab62930ae

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-12-04T23:19:47
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-12-04 23:19:47 +00:00
parent d68bfa6b96
commit ac0a6d8498
1 changed files with 2 additions and 4 deletions

View File

@ -190,7 +190,7 @@
SoSecurityManager *securityManager;
securityManager = [SoSecurityManager sharedSecurityManager];
// return (([securityManager validatePermission: SoPerm_AccessContentsInformation
// onObject: contactFolder
// inContext: context] == nil)
@ -294,8 +294,7 @@
responseString = [NSMutableString new];
contacts = [results objectEnumerator];
contact = [contacts nextObject];
while (contact)
while ((contact = [contacts nextObject]))
{
uid = [contact objectForKey: @"c_uid"];
folders = [self _foldersForUID: uid ofType: folderType];
@ -305,7 +304,6 @@
[contact objectForKey: @"cn"],
[contact objectForKey: @"c_email"],
foldersString];
contact = [contacts nextObject];
}
[response appendContentString: responseString];
[responseString release];