diff options
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r-- | src/or/dnsserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c index c65dfe08ca..afd0f28364 100644 --- a/src/or/dnsserv.c +++ b/src/or/dnsserv.c @@ -108,7 +108,7 @@ evdns_server_callback(struct evdns_server_request *req, void *_data) } /* Make a new dummy AP connection, and attach the request to it. */ - conn = TO_EDGE_CONN(connection_new(CONN_TYPE_AP, AF_INET)); + conn = edge_connection_new(CONN_TYPE_AP, AF_INET); conn->_base.state = AP_CONN_STATE_RESOLVE_WAIT; conn->is_dns_request = 1; @@ -161,7 +161,7 @@ dnsserv_launch_request(const char *name, int reverse) char *q_name; /* Make a new dummy AP connection, and attach the request to it. */ - conn = TO_EDGE_CONN(connection_new(CONN_TYPE_AP, AF_INET)); + conn = edge_connection_new(CONN_TYPE_AP, AF_INET); conn->_base.state = AP_CONN_STATE_RESOLVE_WAIT; if (reverse) |