mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 04:18:51 +00:00
openchange: FillMessageHeadersFromProperties fix skipping of last value in
possible range of recepients IMHO, this fixes a bug, that when saving a meessage, it is saved without BCC fields. Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
This commit is contained in:
committed by
Julio García
parent
7da8885190
commit
27851ef428
@@ -541,7 +541,7 @@ FillMessageHeadersFromProperties (NGMutableHashMap *headers,
|
||||
NSArray *list;
|
||||
NSCalendarDate *date;
|
||||
NSDictionary *recipients;
|
||||
NSUInteger type, bccLimit;
|
||||
enum ulRecipClass type, bccLimit;
|
||||
SOGoUser *activeUser;
|
||||
NSNumber *priority;
|
||||
|
||||
@@ -562,7 +562,7 @@ FillMessageHeadersFromProperties (NGMutableHashMap *headers,
|
||||
else
|
||||
bccLimit = MAPI_CC;
|
||||
bccLimit++;
|
||||
for (type = MAPI_TO; type < bccLimit; type++)
|
||||
for (type = MAPI_TO; type <= bccLimit; type++)
|
||||
{
|
||||
recId = recTypes[type];
|
||||
list = MakeRecipientsList ([recipients objectForKey: recId]);
|
||||
|
||||
Reference in New Issue
Block a user