If Sparkle can't parse one item, it no longer fails the entire appcast.

This commit is contained in:
Andy Matuschak committed 2008-07-08 19:39:00 -07:00
1 parent dc249c1ec5
commit bc7aff3f11
1 file changed
+2 -2
+2 -2
View File
@@ -101,7 +101,7 @@
if (date)
[dict setObject:date forKey:name];
}
else
else if (name != nil)
{
// add all other values as strings
[dict setObject:[[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] forKey:name];
@@ -118,7 +118,7 @@
}
else
{
failed = YES;
NSLog(@"Sparkle Updater: Failed to parse appcast item with appcast dictionary %@!", dict);
}
[dict removeAllObjects];
}