diff options
author | Roger Dingledine <arma@torproject.org> | 2005-04-26 20:05:15 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-04-26 20:05:15 +0000 |
commit | 4eb3cf933003b595dc4a70fe6b3bfef5921c0406 (patch) | |
tree | 53a603c51221613734c3a2ce26c331f4ac0dca14 /src | |
parent | 5704c3f0e038723cc5b72f03c05b52c89e991d3c (diff) | |
download | tor-4eb3cf933003b595dc4a70fe6b3bfef5921c0406.tar.gz tor-4eb3cf933003b595dc4a70fe6b3bfef5921c0406.zip |
a bit more debug info
svn:r4119
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 8c5c7bc4e2..ff02efc050 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -136,7 +136,8 @@ static void purge_expired_resolves(uint32_t now) { */ while (oldest_cached_resolve && (oldest_cached_resolve->expire < now)) { resolve = oldest_cached_resolve; - log(LOG_DEBUG,"Forgetting old cached resolve (expires %lu)", (unsigned long)resolve->expire); + log(LOG_DEBUG,"Forgetting old cached resolve (address %s, expires %lu)", + resolve->address, (unsigned long)resolve->expire); if (resolve->state == CACHE_STATE_PENDING) { log_fn(LOG_WARN,"Bug: Expiring a dns resolve ('%s') that's still pending. Forgot to cull it?", resolve->address); tor_fragile_assert(); |