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:
Wolfgang Sourdeau
2009-11-16 15:01:54 +00:00
parent 672ae69c97
commit e420fd76e9
+1 -2
View File
@@ -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);