Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
6b36142b
Commit
6b36142b
authored
Nov 14, 2012
by
Nick Mathewson
🎨
Browse files
Remove some unused defines in dns.c
parent
7197c9f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
6b36142b
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment