From bc7aff3f11a1919704975ab3eaed0b6a3e27af00 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 8 Jul 2008 19:39:00 -0700 Subject: [PATCH] If Sparkle can't parse one item, it no longer fails the entire appcast. --- SUAppcast.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SUAppcast.m b/SUAppcast.m index 3ddb8594..7a44359b 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -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]; }