diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-11 03:58:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-11 03:58:59 +0000 |
commit | 284fe9cad522a75fa60aeb2cd511ac4a50499145 (patch) | |
tree | aad46f4ef89a28f0734e0b36ace4afa0ebfe67f2 /src/or | |
parent | eb78295e4e498b6f220b56f35babb82d5513d0c9 (diff) | |
download | tor-284fe9cad522a75fa60aeb2cd511ac4a50499145.tar.gz tor-284fe9cad522a75fa60aeb2cd511ac4a50499145.zip |
if we learn that a down entry guard is up, count our working entry
guards correctly when logging.
svn:r5791
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 91f01d63d1..c8896bc25b 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2014,12 +2014,12 @@ entry_guard_set_status(const char *digest, int succeeded) changed = 1; } if (entry->down_since) { + entry->down_since = 0; /*XXXX shouldn't be so loud. NM */ notice(LD_CIRC, "Connection to formerly down entry guard '%s' succeeded. " "%d/%d entry guards usable/new.", entry->nickname, num_live_entry_guards(), smartlist_len(entry_guards)); - entry->down_since = 0; log_entry_guards(LOG_INFO); changed = 1; } |