diff options
author | Roger Dingledine <arma@torproject.org> | 2003-05-01 22:55:51 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-05-01 22:55:51 +0000 |
commit | 8a94dd60af99a3c35ece739a3129e7d4eb389cce (patch) | |
tree | 675f7544e48d671fb23c4410355c6c60411f38b6 /src/or/main.c | |
parent | 1eeb3f65fc32a517ddea77c47401f9780b7d4a59 (diff) | |
download | tor-8a94dd60af99a3c35ece739a3129e7d4eb389cce.tar tor-8a94dd60af99a3c35ece739a3129e7d4eb389cce.tar.gz |
cpath is now a doubly linked list, not an array
svn:r260
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7dbb0f2e3..591d568fc 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -325,7 +325,7 @@ int prepare_for_poll(int *timeout) { if(options.APPort && time_to_new_circuit < now.tv_sec) { circuit_expire_unused_circuits(); circuit_launch_new(-1); /* tell it to forget about previous failures */ - circ = circuit_get_newest_by_edge_type(EDGE_AP); + circ = circuit_get_newest_ap(); if(!circ || circ->dirty) { log(LOG_INFO,"prepare_for_poll(): Youngest circuit %s; launching replacement.", circ ? "dirty" : "missing"); circuit_launch_new(0); /* make an onion and lay the circuit */ |