mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
svn:r6955
This commit is contained in:
parent
46574319a2
commit
ccf9c1345e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user