mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-29 01:52:45 +00:00
Monotone-Parent: 076ed69149c82caa88ef18783648e525e98af4b7
Monotone-Revision: 0d19e885a7f8be171d1439b137c806b999725da7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-03T22:21:36 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -220,8 +220,8 @@ MAPIStoreMappingTDBTraverse (TDB_CONTEXT *ctx, TDB_DATA data1, TDB_DATA data2,
|
||||
[mapping setObject: urlString forKey: idKey];
|
||||
[reverseMapping setObject: idKey forKey: urlString];
|
||||
rc = YES;
|
||||
[self logWithFormat: @"registered url '%@' with id %lld (0x%.16"PRIx64")",
|
||||
urlString, idNbr, idNbr];
|
||||
// [self logWithFormat: @"registered url '%@' with id %lld (0x%.16"PRIx64")",
|
||||
// urlString, idNbr, idNbr];
|
||||
|
||||
/* Add the record given its fid and mapistore_uri */
|
||||
key.dptr = (unsigned char *) talloc_asprintf(NULL, "0x%.16"PRIx64, idNbr);
|
||||
@@ -247,8 +247,8 @@ MAPIStoreMappingTDBTraverse (TDB_CONTEXT *ctx, TDB_DATA data1, TDB_DATA data2,
|
||||
urlString = [mapping objectForKey: idKey];
|
||||
if (urlString)
|
||||
{
|
||||
[self logWithFormat: @"unregistering url '%@' with id %lld (0x%.16"PRIx64")",
|
||||
urlString, idNbr, idNbr];
|
||||
// [self logWithFormat: @"unregistering url '%@' with id %lld (0x%.16"PRIx64")",
|
||||
// urlString, idNbr, idNbr];
|
||||
[reverseMapping removeObjectForKey: urlString];
|
||||
[mapping removeObjectForKey: idKey];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user