mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Log the correct address when purging a mismatchd DNS cache address
This commit is contained in:
parent
afe58cfa89
commit
ddf250119d
@ -453,7 +453,7 @@ purge_expired_resolves(time_t now)
|
|||||||
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 (%p); instead got %s (%p).",
|
" the cache. Tried to purge %s (%p); instead got %s (%p).",
|
||||||
resolve->address, (void*)resolve,
|
resolve->address, (void*)resolve,
|
||||||
removed ? removed->address : "NULL", (void*)remove);
|
removed ? removed->address : "NULL", (void*)removed);
|
||||||
}
|
}
|
||||||
tor_assert(removed == resolve);
|
tor_assert(removed == resolve);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user