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

svn:r2149
This commit is contained in:
Roger Dingledine 2004-08-05 19:33:54 +00:00
parent de0f72ce2a
commit 3b00c950c2

View File

@ -661,6 +661,7 @@ static int dnsworker_main(void *data) {
result = -1; result = -1;
switch (result) { switch (result) {
case 1: 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); log_fn(LOG_INFO,"Could not resolve dest addr %s (transient).",address);
answer[0] = DNS_RESOLVE_FAILED_TRANSIENT; answer[0] = DNS_RESOLVE_FAILED_TRANSIENT;
break; break;