diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:29:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:29:30 +0000 |
commit | 0bc741ba7f6abb148d63c7707cfe0139dff6b7ca (patch) | |
tree | 534be018260d7d8cb32113566f3c17bccb6f5ecf | |
parent | ec82db6995e260b9400ded5a767e1f9c60a3cb18 (diff) | |
download | tor-0bc741ba7f6abb148d63c7707cfe0139dff6b7ca.tar tor-0bc741ba7f6abb148d63c7707cfe0139dff6b7ca.tar.gz |
r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400
Fix compilation for eventdns dns.c with split structs.
svn:r6908
-rw-r--r-- | src/or/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index a61da0566..04c946b7c 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -1173,7 +1173,7 @@ eventdns_callback(int result, char type, int count, int ttl, void *addresses, } static int -assign_to_dnsworker(connection_t *exitconn) +assign_to_dnsworker(edge_connection_t *exitconn) { char *addr = tor_strdup(exitconn->_base.address); int r; @@ -1184,7 +1184,7 @@ assign_to_dnsworker(connection_t *exitconn) if (r) { log_warn(LD_EXIT, "eventdns rejected address %s: error %d.", escaped_safe_str(addr), r); - if (exitconn->purpose == EXIT_PURPOSE_RESOLVE) { + if (exitconn->_base.purpose == EXIT_PURPOSE_RESOLVE) { if (eventdns_err_is_transient(r)) send_resolved_cell(exitconn, RESOLVED_TYPE_ERROR_TRANSIENT); else { |