From 3b00c950c2d3d997190e99c2de24a23818a6e730 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 5 Aug 2004 19:33:54 +0000 Subject: [PATCH] note a bug in our dns error handling. we should fix this sometime. svn:r2149 --- src/or/dns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/dns.c b/src/or/dns.c index 01b5bd46ee..2d976a78e5 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -661,6 +661,7 @@ static int dnsworker_main(void *data) { result = -1; switch (result) { case 1: +/* XXX008 result can never be 1, because we set it to -1 above on error */ log_fn(LOG_INFO,"Could not resolve dest addr %s (transient).",address); answer[0] = DNS_RESOLVE_FAILED_TRANSIENT; break;