Monotone-Parent: 524be933e2f388605701a4e958a8fcf5470d96ce

Monotone-Revision: 946fa8b93dadb527991769d012d88ca86a75085e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-26T17:25:08
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-10-26 17:25:08 +00:00
parent cad444ac23
commit 1447640545
1 changed files with 2 additions and 4 deletions

View File

@ -244,10 +244,9 @@ static NSArray *internetAccessStates = nil;
toEndDate: (NSCalendarDate *) endDate
{
NSDictionary *record;
unsigned int startInterval, endInterval, value;
int count, startInterval, endInterval, value;
NSNumber *status;
NSCalendarDate *currentDate;
int count;
record = [records nextObject];
while (record)
@ -283,8 +282,7 @@ static NSArray *internetAccessStates = nil;
NSEnumerator *records;
NSMutableArray *freeBusyItems;
NSTimeInterval interval;
unsigned int intervals;
int count;
int count, intervals;
interval = [endDate timeIntervalSinceDate: startDate] + 60;
intervals = interval / 900; /* slices of 15 minutes */