mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
a bit more debugging for phobos
svn:r6937
This commit is contained in:
parent
cfe0da8a67
commit
c3b79ebf13
@ -266,7 +266,10 @@ purge_expired_resolves(uint32_t now)
|
|||||||
newest_cached_resolve = NULL; /* then make sure the list's tail knows
|
newest_cached_resolve = NULL; /* then make sure the list's tail knows
|
||||||
* that too */
|
* that too */
|
||||||
removed = HT_REMOVE(cache_map, &cache_root, resolve);
|
removed = HT_REMOVE(cache_map, &cache_root, resolve);
|
||||||
tor_assert(removed == resolve);
|
if (removed != resolve) {
|
||||||
|
log_notice(LD_EXIT, "Removed is %p, resolve is %p.", removed, resolve);
|
||||||
|
tor_assert(removed == resolve);
|
||||||
|
}
|
||||||
resolve->magic = 0xF0BBF0BB;
|
resolve->magic = 0xF0BBF0BB;
|
||||||
tor_free(resolve);
|
tor_free(resolve);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user