]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
note a bug in our dns error handling. we should fix this sometime.
authorRoger Dingledine <arma@torproject.org>
Thu, 5 Aug 2004 19:33:54 +0000 (19:33 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 5 Aug 2004 19:33:54 +0000 (19:33 +0000)
svn:r2149

src/or/dns.c

index 01b5bd46eeb7062ccae7e19ffbe835ad980e350d..2d976a78e52966ce570ed88efb5d7c1a6e6b3dec 100644 (file)
@@ -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;