From: valerino Date: Fri, 21 May 2010 02:51:47 +0000 (-0400) Subject: Log the correct address when purging a mismatchd DNS cache address X-Git-Tag: tor-0.2.2.14-alpha~40^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf250119df44927c424512f286a3255aea1d16b;p=thirdparty%2Ftor.git Log the correct address when purging a mismatchd DNS cache address --- diff --git a/src/or/dns.c b/src/or/dns.c index 192a1929d7..fa26cf062a 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -453,7 +453,7 @@ purge_expired_resolves(time_t now) 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).", resolve->address, (void*)resolve, - removed ? removed->address : "NULL", (void*)remove); + removed ? removed->address : "NULL", (void*)removed); } tor_assert(removed == resolve); } else {