[evolution-mapi] Bug #604029 - Modified recurring events are shown as single instance



commit fc48cc0ae6f74f9ca292969fa034da6c48f1e6ef
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jan 28 13:15:30 2011 +0100

    Bug #604029 - Modified recurring events are shown as single instance

 .../exchange-mapi-cal-recur-utils.c                |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-cal-recur-utils.c b/src/libexchangemapi/exchange-mapi-cal-recur-utils.c
index bfadf38..c607b78 100644
--- a/src/libexchangemapi/exchange-mapi-cal-recur-utils.c
+++ b/src/libexchangemapi/exchange-mapi-cal-recur-utils.c
@@ -656,8 +656,10 @@ exchange_mapi_cal_util_bin_to_rrule (GByteArray *ba, ECalComponent *comp)
 	/* some constant */
 	flag32 = *((guint32 *)ptr);
 	ptr += sizeof (guint32);
+	/* It should be set, but not must. It can be, technically, any value.
+	   Seen were 0x3006, 0x3008, 0x3009. It affects format of extended exception info
 	if (flag32 != WRITER_VERSION2)
-		return FALSE;
+		return FALSE; */
 
 	/* start time in mins */
 	flag32 = *((guint32 *)ptr);
@@ -698,11 +700,6 @@ exchange_mapi_cal_util_bin_to_rrule (GByteArray *ba, ECalComponent *comp)
 	/* FIXME: this also has modified instances */
 	e_cal_component_set_exdate_list (comp, exdate_list);
 
-	g_print ("\n== MAPI to ICAL == The recurrence blob data is as follows:\n");
-	for (i = 0; i < ba->len; ++i)
-		g_print ("0x%02X ", ba->data[i]);
-	g_print("\n== End of stream ==\n");
-
 	return TRUE;
 }
 



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