mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: dc704fb10726eca5edd9213a64dd7edc139de7b4
Monotone-Revision: 1e777b448f611699c505f7adf188b474c8be8766 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-15T19:29:30 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#undef DEBUG
|
||||
#include <mapistore/mapistore.h>
|
||||
#include <mapistore/mapistore_errors.h>
|
||||
|
||||
@implementation NSObject (MAPIStoreTallocHelpers)
|
||||
|
||||
@@ -66,14 +67,12 @@ static int MAPIStoreTallocWrapperDestroy (void *data)
|
||||
|
||||
@implementation NSObject (MAPIStoreDataTypes)
|
||||
|
||||
- (enum MAPISTATUS) getMAPIValue: (void **) data
|
||||
forTag: (enum MAPITAGS) propTag
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
- (int) getMAPIValue: (void **) data
|
||||
forTag: (enum MAPITAGS) propTag
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
uint16_t valueType;
|
||||
enum MAPISTATUS rc;
|
||||
|
||||
rc = MAPI_E_SUCCESS;
|
||||
int rc = MAPISTORE_SUCCESS;
|
||||
|
||||
// [self logWithFormat: @"property %.8x found", propTag];
|
||||
valueType = (propTag & 0xffff);
|
||||
@@ -115,7 +114,7 @@ static int MAPIStoreTallocWrapperDestroy (void *data)
|
||||
[self errorWithFormat: @"object type not handled: %d (0x%.4x)",
|
||||
valueType, valueType];
|
||||
*data = NULL;
|
||||
rc = MAPI_E_NO_SUPPORT;
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
}
|
||||
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user