mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 14:22:44 +00:00
Monotone-Parent: a1f0f7f1bc0ae64c5342d0d87ffd1ff8e7e3272c
Monotone-Revision: 4ce6162defbc430cacd1a414c9d9b8a3d7e9940e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-28T13:10:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1374,12 +1374,10 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
{
|
||||
mgr = [SOGoUserManager sharedUserManager];
|
||||
msgData->recipients_count = max;
|
||||
msgData->recipients = talloc_array (msgData, struct mapistore_message_recipient *, max);
|
||||
msgData->recipients = talloc_array (msgData, struct mapistore_message_recipient, max);
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
msgData->recipients[count]
|
||||
= talloc_zero (msgData, struct mapistore_message_recipient);
|
||||
recipient = msgData->recipients[count];
|
||||
recipient = msgData->recipients + count;
|
||||
|
||||
currentAddress = [to objectAtIndex: count];
|
||||
cn = [currentAddress personalName];
|
||||
@@ -1395,7 +1393,10 @@ _compareBodyKeysByPriority (id entry1, id entry2, void *data)
|
||||
entryId = MAPIStoreInternalEntryId (username);
|
||||
}
|
||||
else
|
||||
entryId = MAPIStoreExternalEntryId (cn, email);
|
||||
{
|
||||
recipient->username = NULL;
|
||||
entryId = MAPIStoreExternalEntryId (cn, email);
|
||||
}
|
||||
recipient->type = MAPI_TO;
|
||||
|
||||
/* properties */
|
||||
|
||||
Reference in New Issue
Block a user