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:
Wolfgang Sourdeau
2011-07-15 15:08:30 +00:00
parent e1ad7008b4
commit 7556d4fe7a
2 changed files with 13 additions and 4 deletions
+10 -4
View File
@@ -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