mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
Monotone-Parent: 5b1d778c72ce4ada23636c851701db22a919ec86
Monotone-Revision: defafb3d42bb34384a710aa31d323d75bb693172 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-11-16T15:01:54 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1500,7 +1500,7 @@ RANGE(2);
|
||||
jsonScanner = [NSScanner scannerWithString: json];
|
||||
if ([jsonScanner scanJSONObject: &attendeesData])
|
||||
{
|
||||
newAttendees = [NSMutableArray new];
|
||||
newAttendees = [NSMutableArray array];
|
||||
attendees = [attendeesData allValues];
|
||||
max = [attendees count];
|
||||
for (count = 0; count < max; count++)
|
||||
@@ -1521,7 +1521,6 @@ RANGE(2);
|
||||
[newAttendees addObject: currentAttendee];
|
||||
}
|
||||
[component setAttendees: newAttendees];
|
||||
[newAttendees release];
|
||||
}
|
||||
else
|
||||
NSLog(@"Error scanning following JSON:\n%@", json);
|
||||
|
||||
Reference in New Issue
Block a user