[evolution-data-server] e_cal_util_remove_instances_ex: Correct time check on an RDATE value
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] e_cal_util_remove_instances_ex: Correct time check on an RDATE value
- Date: Mon, 8 Dec 2014 05:50:01 +0000 (UTC)
commit cc8f22ead715fec6554c2bc74c96e6a8c3a52c64
Author: Milan Crha <mcrha redhat com>
Date: Mon Dec 8 06:49:14 2014 +0100
e_cal_util_remove_instances_ex: Correct time check on an RDATE value
Found by a Coverity Scan.
calendar/libecal/e-cal-util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/libecal/e-cal-util.c b/calendar/libecal/e-cal-util.c
index 0034665..7e85734 100644
--- a/calendar/libecal/e-cal-util.c
+++ b/calendar/libecal/e-cal-util.c
@@ -1105,7 +1105,7 @@ e_cal_util_remove_instances_ex (icalcomponent *icalcomp,
period = icalproperty_get_rdate (prop);
if (time_matches_rid (period.time, rid, mod) && (!keep_rid ||
- icaltime_compare (itt, rid) != 0))
+ icaltime_compare (period.time, rid) != 0))
remove_props = g_slist_prepend (remove_props, prop);
}
for (prop = icalcomponent_get_first_property (icalcomp, ICAL_EXDATE_PROPERTY);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]