openchange: getMessageData - replace int literals with ulRecipClass values

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
This commit is contained in:
Kamen Mazdrashki 2014-05-05 01:47:17 +02:00 committed by Julio García
parent fc9dc08045
commit 7da8885190

View file

@ -367,7 +367,7 @@ static NSString *recTypes[] = { @"orig", @"to", @"cc", @"bcc" };
msgData->recipients_count = max; msgData->recipients_count = max;
msgData->recipients = talloc_array (msgData, struct mapistore_message_recipient, max); msgData->recipients = talloc_array (msgData, struct mapistore_message_recipient, max);
current = 0; current = 0;
for (type = 0; type < 4; type++) for (type = MAPI_ORIG; type <= MAPI_BCC; type++)
{ {
recipients = [allRecipients objectForKey: recTypes[type]]; recipients = [allRecipients objectForKey: recTypes[type]];
recipientsMax = [recipients count]; recipientsMax = [recipients count];