diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-16 20:57:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-16 20:57:09 +0000 |
commit | 6f46316c319277d68ac44697221f1f9881c1d197 (patch) | |
tree | 6014ee9c0ef670d33cbede5d8814d245347faadb /src/or/main.c | |
parent | 5f9ac2bdfd43c4abe354192d0c266958c0f0bc56 (diff) | |
download | tor-6f46316c319277d68ac44697221f1f9881c1d197.tar tor-6f46316c319277d68ac44697221f1f9881c1d197.tar.gz |
bugfixes and refactorings
svn:r468
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 310ca3df6..0d6737f00 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -343,7 +343,7 @@ static int prepare_for_poll(void) { 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_ap(); + circ = circuit_get_newest_open(); 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 */ |