Monotone-Parent: edd6ac7b0fdcca99066a8097eefc5e8b36ff52fa

Monotone-Revision: fc4961b85b0b909fb28a4bee4624ff3842165a55

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-15T13:43:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2011-07-15 13:43:38 +00:00
parent ab43fce1af
commit bfa4af5713
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-07-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFolder.m (-createFolder:withRow:andFID:):
fixed referencing of resulting folder.
2011-07-14 Wolfgang Sourdeau <wsourdeau@inverse.ca> 2011-07-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSOGo.m: finalized the new API. * OpenChange/MAPIStoreSOGo.m: finalized the new API.

View file

@ -294,11 +294,14 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
[mapping registerURL: childURL withID: fid]; [mapping registerURL: childURL withID: fid];
childFolder = [self lookupFolder: folderKey]; childFolder = [self lookupFolder: folderKey];
if (childFolder) if (childFolder)
[childFolder setProperties: aRow]; {
[childFolder setProperties: aRow];
*childFolderPtr = childFolder;
rc = MAPISTORE_SUCCESS;
}
else else
[NSException raise: @"MAPIStoreIOException" [NSException raise: @"MAPIStoreIOException"
format: @"unable to fetch created folder"]; format: @"unable to fetch created folder"];
rc = MAPISTORE_SUCCESS;
} }
else else
rc = MAPISTORE_ERROR; rc = MAPISTORE_ERROR;