mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-12 16:58:51 +00:00
Monotone-Parent: b7121103b5c83ec9a9fc4addad1f568b80aee426
Monotone-Revision: 34674c4b324f4c4e34c785d128cd8d8916743871 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-09T17:50:13 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -223,8 +223,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);
|
||||
@@ -250,8 +250,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