[evolution-mapi/gnome-3-4] Bug #675283 - Fails to parse recurring blob



commit febe8e2288d4d6d2410ba5804ca88fcb2f567e8a
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 2 16:58:03 2012 +0200

    Bug #675283 - Fails to parse recurring blob

 src/libexchangemapi/e-mapi-cal-recur-utils.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-cal-recur-utils.c b/src/libexchangemapi/e-mapi-cal-recur-utils.c
index def91e7..9e1f7b4 100644
--- a/src/libexchangemapi/e-mapi-cal-recur-utils.c
+++ b/src/libexchangemapi/e-mapi-cal-recur-utils.c
@@ -205,6 +205,8 @@ ei_to_gba(const struct ema_ExceptionInfo *ei, GByteArray *gba)
 	}
 	if (ei->OverrideFlags&ARO_REMINDERDELTA) {
 		GBA_APPEND_LVAL (gba, ei->ReminderDelta);
+	}
+	if (ei->OverrideFlags & ARO_REMINDER) {
 		GBA_APPEND_LVAL (gba, ei->ReminderSet);
 	}
 	if (ei->OverrideFlags&ARO_LOCATION) {
@@ -363,6 +365,9 @@ gba_to_ei(const GByteArray *gba, ptrdiff_t *off, struct ema_ExceptionInfo *ei)
 
 	if (ei->OverrideFlags&ARO_REMINDERDELTA) {
 		GBA_DEREF_OFFSET (gba, *off, ei->ReminderDelta, guint32);
+	}
+
+	if (ei->OverrideFlags & ARO_REMINDER) {
 		GBA_DEREF_OFFSET (gba, *off, ei->ReminderSet, guint32);
 	}
 



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