Commit c3b79ebf authored by Roger Dingledine's avatar Roger Dingledine
Browse files

a bit more debugging for phobos


svn:r6937
parent cfe0da8a
...@@ -266,7 +266,10 @@ purge_expired_resolves(uint32_t now) ...@@ -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);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment