From 7da8885190acac061bb54518cf6bbe305eb8d35b Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Mon, 5 May 2014 01:47:17 +0200 Subject: [PATCH] openchange: getMessageData - replace int literals with ulRecipClass values Signed-off-by: Kamen Mazdrashki --- OpenChange/MAPIStoreMailVolatileMessage.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenChange/MAPIStoreMailVolatileMessage.m b/OpenChange/MAPIStoreMailVolatileMessage.m index c640ab7db..58b4e66d2 100644 --- a/OpenChange/MAPIStoreMailVolatileMessage.m +++ b/OpenChange/MAPIStoreMailVolatileMessage.m @@ -367,7 +367,7 @@ static NSString *recTypes[] = { @"orig", @"to", @"cc", @"bcc" }; msgData->recipients_count = max; msgData->recipients = talloc_array (msgData, struct mapistore_message_recipient, max); current = 0; - for (type = 0; type < 4; type++) + for (type = MAPI_ORIG; type <= MAPI_BCC; type++) { recipients = [allRecipients objectForKey: recTypes[type]]; recipientsMax = [recipients count];