[or-cvs] [tor/master 2/5] Log the correct address when purging a mismatchd DNS cache address

nickm at torproject.org nickm at torproject.org
Mon May 24 16:20:36 UTC 2010


Author: valerino <valerino at te4i.com>
Date: Thu, 20 May 2010 22:51:47 -0400
Subject: Log the correct address when purging a mismatchd DNS cache address
Commit: ddf250119df44927c424512f286a3255aea1d16b

---
 src/or/dns.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/dns.c b/src/or/dns.c
index 192a192..fa26cf0 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 {
-- 
1.6.5




More information about the tor-commits mailing list