]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Log the correct address when purging a mismatchd DNS cache address
authorvalerino <valerino@te4i.com>
Fri, 21 May 2010 02:51:47 +0000 (22:51 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 21 May 2010 02:51:47 +0000 (22:51 -0400)
src/or/dns.c

index 192a1929d7ba7df72236736172002b1b1aa18fdc..fa26cf062aa4e981669a2fe61b24f29ef36dc887 100644 (file)
@@ -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 {