Monotone-Parent: 076ed69149c82caa88ef18783648e525e98af4b7
Monotone-Revision: 0d19e885a7f8be171d1439b137c806b999725da7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-03T22:21:36 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
10cfef28e8
commit
6fb8f7c6a0
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue