Monotone-Parent: 152cd7be8bdfd9ff8cd05ec730d08c591d29dc2e

Monotone-Revision: e14333177a9e3223d083bb94a4a7a18746ee7e12

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-06T19:19:15
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-08-06 19:19:15 +00:00
parent bd8af728ce
commit 4eafd2bd58
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2012-08-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreRecurrenceUtils.m (-[iCalRecurrenceRule
fillRecurrencePattern:withEvent:inTimeZone:inMemCtx:]): fixed a
crash occurring when the exception has no recurrence-id and
ignore the specific occurrence.
* OpenChange/MAPIStoreMailVolatileMessage.m (MakeMessageBody):
take "attachmentParts" parameter, deduced from the ivar with the
corresponding name.

View File

@ -293,6 +293,7 @@
else
{
rp->EndDate = 0x5ae980df;
rp->OccurrenceCount = 0xa;
rp->EndType = END_NEVER_END;
}
}
@ -426,7 +427,10 @@
for (count = 1; count < max; count++)
{
startDate = [[events objectAtIndex: count] recurrenceId];
[modifiedDates addObject: startDate];
if (startDate)
[modifiedDates addObject: startDate];
else
[self errorWithFormat: @"missing recurrence-id for event %d", count];
}
max = [modifiedDates count];
rp->ModifiedInstanceCount = max;