]> www.infradead.org Git - users/dwmw2/ews-sync.git/commitdiff
Fix handling of recurrence rules in timezones
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 22 Jul 2010 12:43:57 +0000 (13:43 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 22 Jul 2010 12:43:57 +0000 (13:43 +0100)
calitem_to_ical.c

index 4b1028e93b6060c6dcd3e9e190aadd41e8de3cf0..f64f6cea809876e5c1f9fcc5def9709911549923 100644 (file)
@@ -1279,7 +1279,7 @@ icalcomponent *process_timezone_rule(xmlNode *xml_node, icalcomponent_kind kind,
                } else if (!strcmp((char *)xml_node->name, "RelativeYearlyRecurrence")) {
                        struct icalrecurrencetype ical_recur;
 
-                       if (process_relativeyearlyrecurrence(xml_node, &ical_recur, error))
+                       if (!process_relativeyearlyrecurrence(xml_node, &ical_recur, error))
                                return NULL;
                        prop = icalproperty_new_rrule(ical_recur);
                        icalcomponent_add_property(comp, prop);