mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
Monotone-Parent: 07c1acd90de17a7e8f0064aff341a4244b2f090b
Monotone-Revision: 19d23c85306b1d118c275902d56124e34314598d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-12T04:23:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -803,7 +803,7 @@ static Class NSDataK, NSStringK;
|
||||
return child;
|
||||
}
|
||||
|
||||
- (int) getRow: (struct mapistore_property_data *) data
|
||||
- (int) getRow: (struct mapistore_property_data **) dataP
|
||||
withRowID: (uint32_t) rowId
|
||||
andQueryType: (enum table_query_type) queryType
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
@@ -811,16 +811,19 @@ static Class NSDataK, NSStringK;
|
||||
NSUInteger count;
|
||||
MAPIStoreObject *child;
|
||||
enum MAPISTATUS rc;
|
||||
struct mapistore_property_data *rowData;
|
||||
|
||||
child = [self childAtRowID: rowId
|
||||
forQueryType: queryType];
|
||||
if (child)
|
||||
{
|
||||
rc = MAPI_E_SUCCESS;
|
||||
rowData = talloc_array(memCtx, struct mapistore_property_data, columnsCount);
|
||||
for (count = 0; count < columnsCount; count++)
|
||||
data[count].error = [child getProperty: &data[count].data
|
||||
withTag: columns[count]
|
||||
inMemCtx: memCtx];
|
||||
rowData[count].error = [child getProperty: &rowData[count].data
|
||||
withTag: columns[count]
|
||||
inMemCtx: memCtx];
|
||||
*datap = rowData;
|
||||
rc = MAPI_E_SUCCESS;
|
||||
}
|
||||
else
|
||||
rc = MAPI_E_INVALID_OBJECT;
|
||||
|
||||
Reference in New Issue
Block a user