Monotone-Parent: da065094ec85a862e2b55a9d2a9344f023a1495d
Monotone-Revision: 52e43d7be78f6de53ec604ed8975953bce6b1e0d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-28T00:45:35 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
d875d5ed7e
commit
4f9b5da77e
|
@ -288,7 +288,7 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||||
withRow: (struct SRow *) aRow
|
withRow: (struct SRow *) aRow
|
||||||
andFID: (uint64_t) fid
|
andFID: (uint64_t) fid
|
||||||
{
|
{
|
||||||
int rc;
|
int rc = MAPISTORE_SUCCESS;
|
||||||
MAPIStoreMapping *mapping;
|
MAPIStoreMapping *mapping;
|
||||||
NSString *baseURL, *childURL, *folderKey;
|
NSString *baseURL, *childURL, *folderKey;
|
||||||
MAPIStoreFolder *childFolder;
|
MAPIStoreFolder *childFolder;
|
||||||
|
@ -316,7 +316,6 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||||
{
|
{
|
||||||
[childFolder setProperties: aRow];
|
[childFolder setProperties: aRow];
|
||||||
*childFolderPtr = childFolder;
|
*childFolderPtr = childFolder;
|
||||||
rc = MAPISTORE_SUCCESS;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
[NSException raise: @"MAPIStoreIOException"
|
[NSException raise: @"MAPIStoreIOException"
|
||||||
|
@ -351,6 +350,11 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
|
||||||
keys = [self folderKeys];
|
keys = [self folderKeys];
|
||||||
else if (tableType == MAPISTORE_FAI_TABLE)
|
else if (tableType == MAPISTORE_FAI_TABLE)
|
||||||
keys = [self faiMessageKeys];
|
keys = [self faiMessageKeys];
|
||||||
|
else
|
||||||
|
{
|
||||||
|
keys = nil;
|
||||||
|
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||||
|
}
|
||||||
*rowCount = [keys count];
|
*rowCount = [keys count];
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
|
|
Loading…
Reference in a new issue