diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-06 14:30:30 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:40 -0500 |
commit | c4830bfbe2db333b6550d8b3e98868fa2c808b76 (patch) | |
tree | 306d59f0dcbaed64c75eaa330f8aed0969cfe4a3 /src/or/dns.c | |
parent | 35ce42118fa84825b4eca5e53617563100c8477e (diff) | |
download | tor-c4830bfbe2db333b6550d8b3e98868fa2c808b76.tar.gz tor-c4830bfbe2db333b6550d8b3e98868fa2c808b76.zip |
Define a wrapper for evdns_base_resolve_ipv6 for systems w/o libevent 2
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 780cae06bd..2804a0f086 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -61,6 +61,9 @@ struct evdns_request; #define evdns_base_resolve_ipv4(base, addr, options, cb, ptr) \ ((evdns_resolve_ipv4((addr), (options), (cb), (ptr))!=0) \ ? NULL : ((void*)1)) +#define evdns_base_resolve_ipv6(base, addr, options, cb, ptr) \ + ((evdns_resolve_ipv6((addr), (options), (cb), (ptr))!=0) \ + ? NULL : ((void*)1)) #define evdns_base_resolve_reverse(base, addr, options, cb, ptr) \ ((evdns_resolve_reverse((addr), (options), (cb), (ptr))!=0) \ ? NULL : ((void*)1)) |