Procházet zdrojové kódy

note a bug in our dns error handling. we should fix this sometime.

svn:r2149
Roger Dingledine před 21 roky
rodič
revize
3b00c950c2
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/or/dns.c

+ 1 - 0
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;