Return used space of quota as a number in JSON

pull/91/head
Francis Lachapelle 2015-03-18 15:00:46 -04:00
parent db9e3a5401
commit 8d003a7c35
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ static NSString *inboxFolderName = @"INBOX";
quota = quota * [(NSNumber*)[inboxQuota objectForKey: @"maxQuota"] intValue];
inboxQuota = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithLong: (long)(quota+0.5)], @"maxQuota",
[inboxQuota objectForKey: @"usedSpace"], @"usedSpace",
[NSNumber numberWithLong: [[inboxQuota objectForKey: @"usedSpace"] longLongValue]], @"usedSpace",
nil];
}
}