summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-14 10:18:33 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:40 -0500
commit6b36142bcc6f268a5312e197c4c3397065b3414e (patch)
tree6dd2e7105c6d70f354d8e0ec5a87a525eeb50f57 /src
parent7197c9f14a60cd9e496fcd432a2fecb12b20f4dc (diff)
downloadtor-6b36142bcc6f268a5312e197c4c3397065b3414e.tar.gz
tor-6b36142bcc6f268a5312e197c4c3397065b3414e.zip
Remove some unused defines in dns.c
Diffstat (limited to 'src')
-rw-r--r--src/or/dns.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 5a7f07c9d8..b7b5e0e64a 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -87,12 +87,6 @@ struct evdns_request;
* that the resolver is wedged? */
#define RESOLVE_MAX_TIMEOUT 300
-/** Possible outcomes from hostname lookup: permanent failure,
- * transient (retryable) failure, and success. */
-#define DNS_RESOLVE_FAILED_TRANSIENT 1
-#define DNS_RESOLVE_FAILED_PERMANENT 2
-#define DNS_RESOLVE_SUCCEEDED 3
-
/** Our evdns_base; this structure handles all our name lookups. */
static struct evdns_base *the_evdns_base = NULL;
@@ -1188,8 +1182,7 @@ is_test_address(const char *address)
* the outcome of a DNS resolve: tell all pending connections about the result
* of the lookup, and cache the value. (<b>address</b> is a NUL-terminated
* string containing the address to look up; <b>addr</b> is an IPv4 address in
- * host order; <b>outcome</b> is one of
- * DNS_RESOLVE_{FAILED_TRANSIENT|FAILED_PERMANENT|SUCCEEDED}.
+ * host order; DOCDOC
*/
static void
dns_found_answer(const char *address, uint8_t query_type,