From: Roger Dingledine Date: Thu, 5 Aug 2004 19:33:54 +0000 (+0000) Subject: note a bug in our dns error handling. we should fix this sometime. X-Git-Tag: tor-0.0.8pre3~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b00c950c2d3d997190e99c2de24a23818a6e730;p=thirdparty%2Ftor.git note a bug in our dns error handling. we should fix this sometime. svn:r2149 --- 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;