fix an error in reporting why we abandoned a helper node

svn:r5564
This commit is contained in:
Roger Dingledine 2005-12-11 11:20:26 +00:00
parent b974f67c01
commit f3349d6ed3

View file

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