svn:r6955

This commit is contained in:
Nick Mathewson 2006-07-31 18:00:47 +00:00
parent 46574319a2
commit ccf9c1345e

View File

@ -295,9 +295,9 @@ purge_expired_resolves(uint32_t now)
removed = HT_REMOVE(cache_map, &cache_root, resolve); removed = HT_REMOVE(cache_map, &cache_root, resolve);
if (removed != resolve) { if (removed != resolve) {
log_err(LD_BUG, "The expired resolve we purged didn't match any in" log_err(LD_BUG, "The expired resolve we purged didn't match any in"
" the cache. Tried to purge %s; instead got %s.", " the cache. Tried to purge %s (%p); instead got %s (%p.",
resolve->address, removed ? removed->address : "NULL"); resolve->address, resolve,
removed ? removed->address : "NULL", remove);
} }
tor_assert(removed == resolve); tor_assert(removed == resolve);
resolve->magic = 0xF0BBF0BB; resolve->magic = 0xF0BBF0BB;