[evolution-ews] Fix the appointment to be deleted properly



commit d85ec2cf9fc892b32b41ff927e1f7e9295236e3f
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue Oct 11 15:04:18 2011 +0530

    Fix the appointment to be deleted properly

 src/calendar/e-cal-backend-ews.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index b7b3399..03d832e 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1086,6 +1086,9 @@ e_cal_backend_ews_remove_object (ECalBackend *backend, EDataCal *cal, EServerMet
 	PRIV_LOCK (priv);
 
 	comp = e_cal_backend_store_get_component (priv->store, uid, rid);
+	
+	if (!rid || !*rid)
+		rid = NULL;
 
 	if (rid) {
 		parent = e_cal_backend_store_get_component (priv->store, uid, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]