From 284fe9cad522a75fa60aeb2cd511ac4a50499145 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 11 Jan 2006 03:58:59 +0000 Subject: [PATCH] if we learn that a down entry guard is up, count our working entry guards correctly when logging. svn:r5791 --- src/or/circuitbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }