Explorar o código

fix an error in reporting why we abandoned a helper node

svn:r5564
Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
f3349d6ed3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/circuitbuild.c

+ 1 - 1
src/or/circuitbuild.c

@@ -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);