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:
parent
10cfef28e8
commit
6fb8f7c6a0
|
@ -220,8 +220,8 @@ MAPIStoreMappingTDBTraverse (TDB_CONTEXT *ctx, TDB_DATA data1, TDB_DATA data2,
|
||||||
[mapping setObject: urlString forKey: idKey];
|
[mapping setObject: urlString forKey: idKey];
|
||||||
[reverseMapping setObject: idKey forKey: urlString];
|
[reverseMapping setObject: idKey forKey: urlString];
|
||||||
rc = YES;
|
rc = YES;
|
||||||
[self logWithFormat: @"registered url '%@' with id %lld (0x%.16"PRIx64")",
|
// [self logWithFormat: @"registered url '%@' with id %lld (0x%.16"PRIx64")",
|
||||||
urlString, idNbr, idNbr];
|
// urlString, idNbr, idNbr];
|
||||||
|
|
||||||
/* Add the record given its fid and mapistore_uri */
|
/* Add the record given its fid and mapistore_uri */
|
||||||
key.dptr = (unsigned char *) talloc_asprintf(NULL, "0x%.16"PRIx64, idNbr);
|
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];
|
urlString = [mapping objectForKey: idKey];
|
||||||
if (urlString)
|
if (urlString)
|
||||||
{
|
{
|
||||||
[self logWithFormat: @"unregistering url '%@' with id %lld (0x%.16"PRIx64")",
|
// [self logWithFormat: @"unregistering url '%@' with id %lld (0x%.16"PRIx64")",
|
||||||
urlString, idNbr, idNbr];
|
// urlString, idNbr, idNbr];
|
||||||
[reverseMapping removeObjectForKey: urlString];
|
[reverseMapping removeObjectForKey: urlString];
|
||||||
[mapping removeObjectForKey: idKey];
|
[mapping removeObjectForKey: idKey];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue