mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
Monotone-Parent: 22be47412187379c5790339050a32efb324de72f
Monotone-Revision: 0876527d52dfa5e4ddfcb4dee4220d4d6bd27eec Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-01T22:28:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -359,7 +359,7 @@ sogo_folder_get_child_count(void *folder_object, uint8_t table_type, uint32_t *c
|
||||
static int
|
||||
sogo_folder_open_message(void *folder_object,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
uint64_t mid,
|
||||
uint64_t mid, bool write_access,
|
||||
void **message_object)
|
||||
{
|
||||
struct MAPIStoreTallocWrapper *wrapper;
|
||||
@@ -375,7 +375,10 @@ sogo_folder_open_message(void *folder_object,
|
||||
wrapper = folder_object;
|
||||
folder = wrapper->MAPIStoreSOGoObject;
|
||||
pool = [NSAutoreleasePool new];
|
||||
rc = [folder openMessage: &message withMID: mid inMemCtx: mem_ctx];
|
||||
rc = [folder openMessage: &message
|
||||
withMID: mid
|
||||
forWriting: write_access
|
||||
inMemCtx: mem_ctx];
|
||||
if (rc == MAPISTORE_SUCCESS)
|
||||
*message_object = [message tallocWrapper: mem_ctx];
|
||||
[pool release];
|
||||
|
||||
Reference in New Issue
Block a user