]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix an error in reporting why we abandoned a helper node
authorRoger Dingledine <arma@torproject.org>
Sun, 11 Dec 2005 11:20:26 +0000 (11:20 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 11 Dec 2005 11:20:26 +0000 (11:20 +0000)
svn:r5564

src/or/circuitbuild.c

index cc4082b7296cfd9172b9dd8bf3feade6e6440257..8ac40d99561003f03a51e82388ae589ece891b14 100644 (file)
@@ -1756,7 +1756,7 @@ remove_dead_helpers(void)
       since = helper->unlisted_since;
     } else if (helper->down_since + HELPER_ALLOW_DOWNTIME > now) {
       why = "down";
-      since = helper->unlisted_since;
+      since = helper->down_since;
     }
     if (why) {
       base16_encode(dbuf, sizeof(dbuf), helper->identity, DIGEST_LEN);