summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-05 19:33:54 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-05 19:33:54 +0000
commit3b00c950c2d3d997190e99c2de24a23818a6e730 (patch)
tree25641a0ba4024b4a16fb40f3215a5d7cc40d9059 /src
parentde0f72ce2a6e6c7cd8d55cd5c839c523db58da33 (diff)
downloadtor-3b00c950c2d3d997190e99c2de24a23818a6e730.tar.gz
tor-3b00c950c2d3d997190e99c2de24a23818a6e730.zip
note a bug in our dns error handling. we should fix this sometime.
svn:r2149
Diffstat (limited to 'src')
-rw-r--r--src/or/dns.c1
1 files changed, 1 insertions, 0 deletions
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;