1
=== modified file 'src/libexchangemapi/exchange-mapi-cal-recur-utils.c'
2
--- old/src/libexchangemapi/exchange-mapi-cal-recur-utils.c 2010-10-19 15:03:33 +0000
3
+++ new/src/libexchangemapi/exchange-mapi-cal-recur-utils.c 2011-02-11 23:36:57 +0000
6
flag32 = *((guint32 *)ptr);
7
ptr += sizeof (guint32);
8
+ /* It should be set, but not must. It can be, technically, any value.
9
+ Seen were 0x3006, 0x3008, 0x3009. It affects format of extended exception info
10
if (flag32 != WRITER_VERSION2)
14
/* start time in mins */
15
flag32 = *((guint32 *)ptr);
17
/* modified exceptions */
18
flag16 = *((guint16 *)ptr);
19
ptr += sizeof (guint16);
23
- /* reserved block1 size - has to be 0 */
24
- flag32 = *((guint32 *)ptr);
25
- ptr += sizeof (guint32);
29
- /* reserved block2 size - has to be 0 */
30
- flag32 = *((guint32 *)ptr);
31
- ptr += sizeof (guint32);
34
+ /* FIXME: there are flag16 count modified exceptions here, which
35
+ are variable in size, followed by a ReservedBlock1{Size,}
36
+ and ReservedBlock2{Size,}. However, since we have nothing
37
+ else to do until we are able to parse these modified
38
+ instances, we just stop now. */
40
/* Set the recurrence */
43
/* FIXME: this also has modified instances */
44
e_cal_component_set_exdate_list (comp, exdate_list);
46
- g_print ("\n== MAPI to ICAL == The recurrence blob data is as follows:\n");
47
- for (i = 0; i < ba->len; ++i)
48
- g_print ("0x%02X ", ba->data[i]);
49
- g_print("\n== End of stream ==\n");