aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_ap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r--src/or/connection_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c
index ada3ee9a3..ec8c05f0a 100644
--- a/src/or/connection_ap.c
+++ b/src/or/connection_ap.c
@@ -94,7 +94,7 @@ int ap_handshake_process_socks(connection_t *conn) {
}
/* find the circuit that we should use, if there is one. */
- circ = circuit_get_newest_by_edge_type(EDGE_AP);
+ circ = circuit_get_newest_ap();
if(!circ) {
log(LOG_INFO,"ap_handshake_process_socks(): No circuit ready. Closing.");