[evolution-ews] Replace the right component in cache while removing a recurring instance.



commit 035d5a1e8a8f24e9f8d381d9d7f3009e22883f88
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Thu Sep 29 11:56:51 2011 +0530

    Replace the right component in cache while removing a recurring instance.

 src/calendar/e-cal-backend-ews.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 9555ad3..8533a9f 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1769,7 +1769,7 @@ ews_cal_modify_object_cb (GObject *object, GAsyncResult *res, gpointer user_data
 	}
 
 	e_cal_component_commit_sequence (modify_data->comp);
-	id = e_cal_component_get_id (modify_data->oldcomp);
+	id = e_cal_component_get_id (modify_data->comp);
 	e_cal_backend_store_remove_component (cbews->priv->store, id->uid, id->rid);
 	put_component_to_store (cbews, modify_data->comp);
 
@@ -1901,7 +1901,7 @@ convert_vevent_component_to_updatexml(ESoapMessage *msg, gpointer user_data)
 	}
 
 	org_email_address = e_ews_collect_organizer (icalcomp);
-	if (g_ascii_strcasecmp (org_email_address, modify_data->cbews->priv->user_email)) {
+	if (org_email_address && g_ascii_strcasecmp (org_email_address, modify_data->cbews->priv->user_email)) {
 		e_ews_message_end_item_change (msg);
 		return;
 	}



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