[evolution] Bug #579779 - No crash when updating repeating event
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution] Bug #579779 - No crash when updating repeating event
- Date: Thu, 21 May 2009 06:49:36 -0400 (EDT)
commit 1c69cee0239f3252a58e142eb4df8d760ee0274d
Author: Milan Crha <mcrha redhat com>
Date: Thu May 21 12:47:49 2009 +0200
Bug #579779 - No crash when updating repeating event
---
calendar/gui/comp-util.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c
index 57704da..53fdace 100644
--- a/calendar/gui/comp-util.c
+++ b/calendar/gui/comp-util.c
@@ -820,8 +820,7 @@ comp_util_sanitize_recurrence_master (ECalComponent *comp, ECal *client)
e_cal_component_get_recurid (comp, &rid);
e_cal_component_get_dtstart (comp, &sdt);
- if (icaltime_compare_date_only (*rid.datetime.value, *sdt.value) == 0)
- {
+ if (rid.datetime.value && sdt.value && icaltime_compare_date_only (*rid.datetime.value, *sdt.value) == 0) {
ECalComponentDateTime msdt, medt, edt;
int *sequence;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]