diff options
author | Roger Dingledine <arma@torproject.org> | 2003-04-18 18:47:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-04-18 18:47:49 +0000 |
commit | 10902028e0359781fcb4e6d44889c8a819768ab4 (patch) | |
tree | dd7bcad18dee0108724bb0aef9785e99052fd662 /src/or/main.c | |
parent | 5c514620fcbf6d5abb4d7c66a0aac6a3b195b3f0 (diff) | |
download | tor-10902028e0359781fcb4e6d44889c8a819768ab4.tar tor-10902028e0359781fcb4e6d44889c8a819768ab4.tar.gz |
bugfix: only close old circuits if they have no connections!
svn:r251
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 e0341061e..7dbb0f2e3 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -327,7 +327,7 @@ int prepare_for_poll(int *timeout) { circuit_launch_new(-1); /* tell it to forget about previous failures */ circ = circuit_get_newest_by_edge_type(EDGE_AP); if(!circ || circ->dirty) { - log(LOG_INFO,"prepare_for_poll(): Youngest circuit missing or dirty; launching replacement."); + 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 */ } time_to_new_circuit = now.tv_sec + options.NewCircuitPeriod; |