mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-16 08:55:24 +00:00
Monotone-Parent: 7cfdd064893329db0adaa6d3f8e376f93037427b
Monotone-Revision: 94165b609bb149d80e4ea22d3eaa449726ba7e4c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-15T15:08:30 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -502,6 +502,7 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||
tableType: (uint8_t) tableType
|
||||
andHandleId: (uint32_t) handleId
|
||||
{
|
||||
int rc = MAPISTORE_SUCCESS;
|
||||
MAPIStoreTable *table;
|
||||
|
||||
if (tableType == MAPISTORE_MESSAGE_TABLE)
|
||||
@@ -516,11 +517,16 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||
[NSException raise: @"MAPIStoreIOException"
|
||||
format: @"unsupported table type: %d", tableType];
|
||||
}
|
||||
[table setHandleId: handleId];
|
||||
*tablePtr = table;
|
||||
*countPtr = [[table childKeys] count];
|
||||
if (table)
|
||||
{
|
||||
[table setHandleId: handleId];
|
||||
*tablePtr = table;
|
||||
*countPtr = [[table childKeys] count];
|
||||
}
|
||||
else
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (int) setProperties: (struct SRow *) aRow
|
||||
|
||||
Reference in New Issue
Block a user