Monotone-Parent: 8e7592262f2159aab15514d3e90f845953e66751
Monotone-Revision: 16d0566b5cbe59d0378166dcfc9fce5ccd83fcb9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-14T14:46:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
22993a660c
commit
381879c77a
|
@ -249,8 +249,7 @@ static Class SOGoUserFolderK;
|
||||||
PR_SENT_REPRESENTING_NAME_UNICODE,
|
PR_SENT_REPRESENTING_NAME_UNICODE,
|
||||||
PR_INTERNET_MESSAGE_ID_UNICODE,
|
PR_INTERNET_MESSAGE_ID_UNICODE,
|
||||||
PR_READ_RECEIPT_REQUESTED };
|
PR_READ_RECEIPT_REQUESTED };
|
||||||
union SPropValue_CTR *valueCopyPtr;
|
void *propValue;
|
||||||
union SPropValue_CTR valueCopy;
|
|
||||||
|
|
||||||
child = [self lookupObject: childURL];
|
child = [self lookupObject: childURL];
|
||||||
if (child)
|
if (child)
|
||||||
|
@ -282,25 +281,24 @@ static Class SOGoUserFolderK;
|
||||||
max = 9;
|
max = 9;
|
||||||
|
|
||||||
properties = talloc_zero (memCtx, struct SRow);
|
properties = talloc_zero (memCtx, struct SRow);
|
||||||
properties->cValues = max;
|
properties->cValues = 0;
|
||||||
properties->ulAdrEntryPad = 0;
|
properties->ulAdrEntryPad = 0;
|
||||||
properties->lpProps = talloc_array (properties, struct SPropValue, max);
|
properties->lpProps = talloc_array (properties, struct SPropValue, max);
|
||||||
for (count = 0; count < max; count++)
|
for (count = 0; count < max; count++)
|
||||||
{
|
{
|
||||||
properties->lpProps[count].ulPropTag = tags[count];
|
if ([self getMessageTableChildproperty: &propValue
|
||||||
if ([self getMessageTableChildproperty: &valueCopyPtr
|
|
||||||
atURL: childURL
|
atURL: childURL
|
||||||
withTag: tags[count]
|
withTag: tags[count]
|
||||||
inFolder: nil
|
inFolder: nil
|
||||||
withFID: 0]
|
withFID: 0]
|
||||||
== MAPI_E_SUCCESS)
|
== MAPI_E_SUCCESS)
|
||||||
{
|
{
|
||||||
valueCopy = *valueCopyPtr;
|
set_SPropValue_proptag (&(properties->lpProps[properties->cValues]),
|
||||||
talloc_free (valueCopyPtr);
|
tags[count],
|
||||||
|
propValue);
|
||||||
|
properties->cValues++;
|
||||||
|
// talloc_free (propValue);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
valueCopy.d = 0;
|
|
||||||
properties->lpProps[count].value = valueCopy;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
msg->properties = properties;
|
msg->properties = properties;
|
||||||
|
|
Loading…
Reference in a new issue