mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-27 20:26:23 +00:00
Monotone-Parent: 8fcaef79630a50f01c6aba0e5fdc0744c274cba6
Monotone-Revision: 87fd75f525e094b816fcad443e6fe4b2c8c8479c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-03-07T21:33:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -76,14 +76,14 @@ MAPIStoreMappingInitDictionary (NSMutableDictionary *mapping)
|
||||
struct tdb_wrap *wrap;
|
||||
TDB_CONTEXT *context;
|
||||
char *tdb_path;
|
||||
int rc;
|
||||
|
||||
tdb_path = "/usr/local/samba/private/mapistore/openchange/indexing.tdb";
|
||||
wrap = tdb_wrap_open(NULL, tdb_path, 0, TDB_NOLOCK, O_RDONLY, 0600);
|
||||
|
||||
context = wrap->tdb;
|
||||
rc = tdb_traverse_read(wrap->tdb, MAPIStoreMappingTDBTraverse, mapping);
|
||||
|
||||
if (wrap)
|
||||
{
|
||||
context = wrap->tdb;
|
||||
tdb_traverse_read(wrap->tdb, MAPIStoreMappingTDBTraverse, mapping);
|
||||
}
|
||||
}
|
||||
|
||||
@implementation MAPIStoreMapping
|
||||
|
||||
Reference in New Issue
Block a user