Commit ddf25011 authored by valerino's avatar valerino Committed by Nick Mathewson
Browse files

Log the correct address when purging a mismatchd DNS cache address

parent afe58cfa
...@@ -453,7 +453,7 @@ purge_expired_resolves(time_t now) ...@@ -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 {
......
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